2016-10-11 226 views
0

命令:PIP安裝python-dateutil不起作用

pip install python-dateutil 

給這個錯誤:

Collecting python-dateutil 
Could not find a version that satisfies the requirement python-dateutil (from versions:) 
No matching distribution found for python-dateutil 

但easy_install的蟒蛇,dateutil工作正常....

+1

?用python 2.7和pip 8.1.2,'pip install python-dateutil'工作得很好。 – larsks

+0

Anaconda,python 3.5,pip 8.1.2 – mgcdanny

回答

0

我有一個錯誤〜/ .pip/pip.conf

它應該是這樣的:

[global] 
index-url = https://pypi.python.org/simple 

,但我已經將其指向您正在使用什麼版本的Python不同的索引