Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.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
PIP安装不需要';t工作(六、numpy和python dateutil要求)_Python_Numpy_Pip_Python Dateutil_Six - Fatal编程技术网

PIP安装不需要';t工作(六、numpy和python dateutil要求)

PIP安装不需要';t工作(六、numpy和python dateutil要求),python,numpy,pip,python-dateutil,six,Python,Numpy,Pip,Python Dateutil,Six,我是Python的新手,希望在Mac上为Python 3.5安装枕头包。我使用pip-install-pillow命令并得到以下错误: Jaspers-MBP:~ jasperherrmann$ pip install pillow Collecting pillow Using cached Pillow-5.1.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.ma

我是Python的新手,希望在Mac上为Python 3.5安装枕头包。我使用
pip-install-pillow
命令并得到以下错误:

Jaspers-MBP:~ jasperherrmann$ pip install pillow
Collecting pillow
  Using cached Pillow-5.1.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
prompt-toolkit 1.0.15 has requirement six>=1.9.0, but you'll have six 
1.4.1 which is incompatible.
pandas 0.22.0 has requirement numpy>=1.9.0, but you'll have numpy 1.8.0rc1 which is incompatible.
html5lib 1.0.1 has requirement six>=1.9, but you'll have six 1.4.1 which is incompatible.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
jupyter-client 5.2.3 has requirement python-dateutil>=2.1, but you'll have python-dateutil 1.5 which is incompatible.
Installing collected packages: pillow
因此,我继续尝试使用
pip install six
pip install numpy
pip install python dateutil
安装Panda、html5lib等所需的所有东西,并得到下一个错误(对于所有命令,相同):

所以我想好了,第六个和其他的都已经存在了,我只需要用
pip安装--upgrade six
命令来升级它们。这是我得到的最后一个错误,现在不知道如何继续:

Jaspers-MBP:~ jasperherrmann$ pip install --upgrade six
Collecting six
  Using cached six-1.11.0-py2.py3-none-any.whl
pandas 0.22.0 has requirement numpy>=1.9.0, but you'll have numpy 1.8.0rc1 which is incompatible.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
jupyter-client 5.2.3 has requirement python-dateutil>=2.1, but you'll have python-dateutil 1.5 which is incompatible.
Installing collected packages: six
  Found existing installation: six 1.4.1
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Jaspers-MBP:~ jasperherrmann$ 

因此,我被困在这里,如果你们中的一些人能解决我的问题,我会很高兴:-)

只要做
pip安装——忽略已安装的枕头
,就能解决你的问题。

对于macOS,只要尝试
pip安装——升级——user six
。祝你好运

你确定这个软件包还能用吗?你确认过低版本的6不会弄坏枕头吗?
Jaspers-MBP:~ jasperherrmann$ pip install --upgrade six
Collecting six
  Using cached six-1.11.0-py2.py3-none-any.whl
pandas 0.22.0 has requirement numpy>=1.9.0, but you'll have numpy 1.8.0rc1 which is incompatible.
matplotlib 1.3.1 has requirement numpy>=1.5, but you'll have numpy 1.8.0rc1 which is incompatible.
jupyter-client 5.2.3 has requirement python-dateutil>=2.1, but you'll have python-dateutil 1.5 which is incompatible.
Installing collected packages: six
  Found existing installation: six 1.4.1
Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Jaspers-MBP:~ jasperherrmann$