python dateutil安装_PIP安装不起作用(六个,numpy和python-dateutil要求)

I'm a quite new to Python and want to install the Pillow package on Mac for Python 3.5. I use the pip install pillowcommand and get this error:

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

So I go on and try to install all the things pandas, html5lib and so on seem to require with pip install six, pip install numpy and pip install python-dateutil and get the next error (for all commands the same):

Jaspers-MBP:~ jasperherrmann$ pip install six

Requirement already satisfied: six in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (1.4.1)

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.

So I thought all right six and the others are already there and I will just have to upgrade them with the pip install --upgrade six command. And this is were I get the last error and don't now how to continue:

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$

So here I'm stuck and would be happy if some of you has a solution to my problem :-)

解决方案

For macOS, just try pip install --upgrade --user six. Good luck!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值