I have installed Python 2.7 and Python 3.5 on Windows 10. I use python 2.7 in my current PyCharm project and the project's python interpreter was set to python 2.7. Now I open PyCharm Settings and I want to update my pip of python 2.7.
The pip version was 8.1.1 and I clicked update, expecting it to be updated to the latest version. However, after it hinted "update successfully", I noticed that the version of pip was still 8.1.1. Then I realized that PyCharm may use my default pip version in Windows command line--which is the python3.5's pip.
How to solve this problem? Is it a bug?
Upgrade Or Downgrade To Specific Pip Version If you want to upgrade or downgrade your version of pip to a specific version on a Mac, you can do this by adding a pip==<version> flag to the end of your update command.
Updating Pip b is available.” You can run “pip install --upgrade pip” to install and use the new version of pip. To update pip2 or pip3 using this command, only replace the first pip with the pip version.
Configure the update policy To manage the PyCharm update policy, open Settings/Preferences Ctrl+Alt+S and select Appearance & Behavior | System Settings | Updates.
Change the Python interpreter in the project settingsPress Ctrl+Alt+S to open the IDE settings and select Project <project name> | Python Interpreter. Expand the list of the available interpreters and click the Show All link. Select the target interpreter.
To update pip on pycharm:
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