Skip to content Skip to sidebar Skip to footer

How Can I Update Pip In Pycharm When I Have Two Versions Of Python?

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 PyCh

Solution 1:

To update pip on pycharm:

  1. Open project settings (File > Settings...) (preferences on Mac)
  2. Project > Project Interpreter
  3. Press the + button
  4. Type "pip" in the top search box
  5. In the lower right corner choose "specify version"
  6. Choose your version and press Install Package

image showing the screen

Solution 2:

To upgrade any package to its latest version in PyCharm, the easiest way is to use Upgrade button. When any package has newer version available, it shows in "Latest" column with horizontal blue arrow. Any such package can be selected and click on the Vertical arrow button on right side (as you can see in below screenshot) will upgrade that package to latest version. enter image description here

Solution 3:

No that is not a bug. It's normal behavior.

You can solve this by updating the pip in your Windows through cmd prompt.

Either by using python:

python -m pip install --upgrade pip

or easy_install:

easy_install -U pip

Solution 4:

In order to use the latest version of pip in newly created projects. You need to update Python where PyCharm references it (to find out this path, click Project Interpreter -> Base Interpreter in the project creation window). Then download and install or update Python to the latest version on the path specified in your IDE to the Python interpreter.

Solution 5:

I don't know why it's not updating pip in your machine but I just tried to update pip in my linux environment and it worked just fine.

Try this. Create a virtual environment within PyCharms with the interpreter of your choice, install all the packages you need and then try updating pip. It should work now.

Post a Comment for "How Can I Update Pip In Pycharm When I Have Two Versions Of Python?"