1👍
Solved. Priyank Patel was right… it’s a server-side permission issue. Thank you all!
unable to execute gcc: Permission denied . Ask hosting provide to run your command for you . – Priyank Patel yesterday
- How do you install mysql-connector-python (development version) through pip?
- Django and Dropzone.js
- Django load local json file
- Django Can't Find My Templates
- Rendering individual fields in template in a custom form
11👍
I had a similar problem (gcc failed, but no mention of permissions), but it was dependencies that were my problem. By the way, my task was to install Pillow on a raspberry pi, which is why those dev libraries were necessary. They may not be necessary for you. It was the python-imaging command that did the trick most, I think. Here’s what I did:
# Add the deb-src for each deb in /etc/apt/sources list
sudo apt-get update
sudo apt-get install python2.7-dev tk8.5 tcl8.5 tk8.5-dev tcl8.5-dev
sudo apt-get build-dep python-imaging --fix-missing
sudo pip install Pillow
Sources:
https://github.com/python-imaging/Pillow/issues/322
http://forums.getpebble.com/discussion/8490/ubuntu-install-problem-when-it-comes-to-pip
https://unix.stackexchange.com/questions/105265/install-pil-pillow-via-pip-in-debian-testing-jessie
- How to point correctly to static image in django
- Django crispy forms: Nesting a formset within a form
- Django string concatenation inside template tag best practice
4👍
In case this helps anyone else. This may be what the service provider did.
On CentOS I ended up having to install Python headers to fix the problem.
yum install python-devel
then
pip install Pillow
- How to get all objects by instance in django
- Unique field in Django Model for each foreign key
- You have 3 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth
- Refresh <div> element generated by a django template
3👍
Try running this in terminal:
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
Then pip install Pillow
- Django REST framework – multiple lookup fields?
- Nginx Django and Gunicorn. Gunicorn sock file is missing?
- Is it possible to create subparsers in a django management command?
- Testing apps.py in django