1
我試圖將從2.5.3
升級到最新版本2.6.0
與pip install dateutil --upgrade
,但得到了問題Could not find a version
。升級Python包dateutil:找不到版本
$ 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
升級到最新版本?
謝謝。 'sudo pip install python-dateutil --upgrade'適用於我。 – SparkAndShine