Django website deploy errors: Failed building wheel for Pillow, Reportlab in cPanel

Viewed 537

My website is working fine on the local server. This error is coming up when I try to install Pillow on the server (Namecheap Shared Hosting). I talked to Live Support, they have enabled the compiler, but still, I am getting these errors. Is there anybody to help me, how can I fix this?

Error Screenshot 1 Error Screenshot 2 Error Screenshot 3

1 Answers

Thanks to @ManikMia who was himself able to find the solution. So, here is the solution that he devised, and it worked for me too.

Firstly, change the Python version to 3.7, and then run pip install pillow==8.0.0. Be careful about the pillow version also.

This is for the Namecheap shared Hosting

Related