Upgrade the Python package dateutil: Could not find a version
Asked Answered
R

1

48

I tried to upgrade dateutil from 2.5.3 to the newest version 2.6.0 with pip install dateutil --upgrade, but got the issue 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 dateutil got,

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

How do I know which version satisfies my machine? Is it possible to upgrade dateutil to the newest version?

Recessive answered 25/11, 2016 at 16:34 Comment(0)
T
108

It is

pip install python-dateutil --upgrade
Toh answered 25/11, 2016 at 16:44 Comment(3)
Thank you. sudo pip install python-dateutil --upgrade works for me.Recessive
Thank you, it's nothing but '--upgrade'.Udo
this command worked for me. Thank youCatharinecatharsis

© 2022 - 2024 — McMap. All rights reserved.