python - Alternative of PIL/Pillow for using ImageField in Django Models -



python - Alternative of PIL/Pillow for using ImageField in Django Models -

i setting django project on shared hosting server using virtualenv don't have root access. sudo doesn't works.i using imagefield in models require pil/pillow installed.but when seek

pip install pillow

i error:

unable execute gcc: permission denied error: command 'gcc' failed exit status 1

so there alternative available pil/pillow can installed without root access , gcc permissions? (no permissions in virtualenv)

imagefield requires pillow library, see here: https://docs.djangoproject.com/en/dev/ref/models/fields/, no 2 ways around that. need install it. there several solutions in case:

install/get permission run gcc on server compile somewhere else, setup identical , re-create files change code not utilize imagefield

python django pip shared-hosting

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -