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?
Python 2. x has a great function called dateutil. parser which turns an ISO8601 formatted date into a python datetime value. It's not present in Python 3.
Updating Pip When an update for pip is available, and you run a pip command, you will see a message that says, “You are using pip version xy. a, however version xy. b is available.” You can run “pip install --upgrade pip” to install and use the new version of pip.
To install a specific version of a Python package you can use pip: pip install YourPackage==YourVersion . For example, if you want to install an older version of Pandas you can do as follows: pip install pandas==1.1. 3 .
It is
pip install python-dateutil --upgrade
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With