Reputation: 7
I was just trying to download packages using pip in the terminal in pycharm and there was a notice from pip saying "You are using pip version 10.0.1, however, version 19.3.1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command."
I ran the command but when I typed "pip -V" to check the version, it remained the same 10.0.1. And when I run the command, it says that pip is already up to date
How can solve this?
Upvotes: 0
Views: 1204
Reputation: 20629
Your python
and pip
seem to point to different python versions. Check by typing which python
or where python
in the terminal.
To make sure they match, you can use
python -m pip install --upgrade pip
(as you did) for upgrading
python -m pip install <package name>
for installation
Upvotes: 1