make setup ends with an error
houmie opened this issue · comments
Hi Kamal,
I just downloaded it and ran "make setup" it ended with the PIL error.
May you please be so kind and advice?
Many Thanks,
houmie
running install_lib
creating /usr/local/lib/python2.7/dist-packages/PIL
error: could not create '/usr/local/lib/python2.7/dist-packages/PIL': Permission denied
----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/tmp/pip-build-hooman/PIL/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-FUqNKw-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-build-hooman/PIL
Storing complete log in /home/hooman/.pip/pip.log
make: *** [deps] Error 1
After some more research, it seems that the make file is not activating the created virtualenv after all. Hence the installation seems to happen on the main OS python, hence the permission problem. Best is to remove the make file or fix it properly.
Many Thanks
Looks like you're trying to install PIL system-wide. If you really want to install PIL there, you could try sudo, but the preferred option is to install in a virtualenv.