Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/359.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 如果发生这种情况,如何安装PIL?_Python - Fatal编程技术网

Python 如果发生这种情况,如何安装PIL?

Python 如果发生这种情况,如何安装PIL?,python,Python,用枕头代替PIL。枕头是PIL的叉子 有关Mac OS X中的安装说明,请使用以下链接 您正在使用哪些操作系统??python版本?PIL不适用于python3。改用pillow,它是一个仍在开发中的PIL分支。我使用OSX,我有python 2.7。您是否按照它的建议尝试了--允许外部标志? sudo pip install PIL Downloading/unpacking PIL Could not find any downloads that satisfy the require

用枕头代替PIL。枕头是PIL的叉子

有关Mac OS X中的安装说明,请使用以下链接


您正在使用哪些操作系统??python版本?PIL不适用于python3。改用pillow,它是一个仍在开发中的PIL分支。我使用OSX,我有python 2.7。您是否按照它的建议尝试了
--允许外部
标志?
sudo 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 /Users/x/Library/Logs/pip.log