升级Python包dateutil:找不到版本

时间:2016-11-25 16:34:57

标签: python pip upgrade macos-sierra python-dateutil

我尝试使用dateutil2.5.32.6.0升级到最新版pip install dateutil --upgrade,但问题为Could not find a version

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

我检查了帖子Could not find a version that satisfies the requirement 。正在运行pip freeze | grep dateutil

$ pip freeze | grep dateutil
python-dateutil==2.5.3

我如何知道哪个版本满足我的机器?是否可以将dateutil升级到最新版本?

1 个答案:

答案 0 :(得分:28)

pip install python-dateutil --upgrade