Updating a library version using pip in Python
To update the version of an already installed library, you need to use the command:
pip install -U library name
Let's update the numpy library to the latest version:
pip install -U numpy
Since numpy was recently installed, it does not require an update, so the following message will be printed to the console:
Requirement already satisfied: numpy in With:\python\lib\site-packages (1.26.4)
If you need to force update the library to the latest version, you need to use the command:
pip install library name --force-reinstall
Please update your matplotlib and dateparser library versions.