环境:
Ubuntu 14.04
python 2.7.6
pip 1.5.4
问题1:
pip install PIL
Downloading/unpacking PIL
Could not find any downloads that satisfy the requirement PIL
Some externally hosted files were ignored (use --allow-external PIL to allow).
Cleaning up...
No distributions at all found for PIL
Storing debug log for failure in pip.log
解决方案:
pip install PIL --allow-external PIL --allow-unverified PIL
问题2:
error:could not create '/usr/local/lib/python2.7/dist-packages/PIL': Permission denied
sudo pip install PIL --allow-external PIL --allow-unverified PIL