我已经成功地为python 3.4安装了PIL/Pillow,但我想要它用于python 2.7。我以为它也可以自动下载到2.7上,但是当我从终端尝试python shell时,它一直显示No module named PIL和No module named PILLOW。我能做什么?当我尝试其他答案中给出的所有安装命令时,系统显示:
Requirement already satisfied (use --upgrade to upgrade): pillow in .
现在迁移到virtualenv和我以前创建的requirements.txt是巨大的,不能在虚拟环境中安装(许多错误如下所示)。如何生成所需包的最小列表?或者哪里有什么参考资料?Could not find any downloads that satisfy the requirement PIL==1.1.7 (from -r requirements.txt (line8))
Some externally hosted files were ignored (use --allow-external PIL to allow).No