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 sixRequirement 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.所以我认为所有六个都正确了,而我只需要使用pip install --upgrade six命令对其进行升级.这是我遇到的最后一个错误,现在不知道如何继续: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 sixCollecting six Using cached six-1.11.0-py2.py3-none-any.whlpandas 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.1Cannot 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 :-)推荐答案对于macOS,只需尝试pip install --upgrade --user six.祝你好运!For macOS, just try pip install --upgrade --user six. Good luck! 这篇关于PIP安装不起作用(六个,numpy和python-dateutil要求)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 06-12 16:21