升级 Python 包 dateutil:找不到版本
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/40809296/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Upgrade the Python package dateutil: Could not find a version
提问by SparkAndShine
I tried to upgrade dateutilfrom 2.5.3to the newest version 2.6.0with pip install dateutil --upgrade, but got the issue Could not find a version.
我试图升级dateutil从2.5.3到最新版本2.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
I checked the post Could not find a version that satisfies the requirement . Running pip freeze | grep dateutilgot,
我查看了帖子找不到满足要求的版本。跑步pip freeze | grep dateutil得到了,
$ pip freeze | grep dateutil
python-dateutil==2.5.3
How do I know which version satisfies my machine? Is it possible to upgrade dateutilto the newest version?
我怎么知道哪个版本满足我的机器?是否可以升级dateutil到最新版本?
回答by itzMEonTV
It is
这是
pip install python-dateutil --upgrade

