pip 安装错误 ubuntu 15.10(Pillow)

pip 安装错误 ubuntu 15.10(Pillow)

当我尝试使用 pip 安装某些东西时,出现错误。但使用 sudo 一切正常。pip install pillow

Downloading/unpacking pillow
  Downloading Pillow-3.1.1.tar.gz (10.1MB): 10.1MB downloaded
  Running setup.py (path:/tmp/pip-build-hFguWU/pillow/setup.py) egg_info for package pillow
    warning: no previously-included files found matching '.editorconfig'
Installing collected packages: pillow
  Running setup.py install for pillow
    warning: no previously-included files found matching '.editorconfig'
    building 'PIL._imaging' extension
   ***//a lot of errors like this***
    x86_64-linux-gnu-gcc: error: unrecognized command line option '-Qunused-arguments'

答案1

尝试一下,当我输入安装最新版本pip install Pillow==2.9.0 时,我遇到了同样的问题。pip install Pillow

相关内容