This is guide for installing the pip packages from Python Console in Pycharm IDE.

Do not forget to run Pycharm as administrator if you are using windows OS before installing the packages.

First of all import the pacakage of pip in python console.

import pip

Installation of Package.

 pip.main(['install', '<package_name>'])

Examples
The below command will upgrade the version of package setuptools.

pip.main(['install','--upgrade','setuptools'])

The below command will install the scikit-learn and numpy packages.

pip.main(['install','numpy','scikit-learn'])

The below command will uninstall the scikit-learn package.

pip.main(['uninstall','scikit-learn'])

Answer from Zahid on Stack Overflow
🌐
TMS Outsource
tms-outsource.com › home › how to install pip in pycharm explained
How to Install Pip in PyCharm Explained
December 21, 2025 - Open the Terminal tool window with the project interpreter active and run python -m ensurepip –upgrade. If that fails, download get-pip.py from bootstrap.pypa.io and run python get-pip.py instead.
Discussions

python - Installing pip in Pycharm 2016.3 - Stack Overflow
I upgraded to the new version of Pycharm. In the terminal, it says bash-3.2$ instead of my username. When I tried to install a library, it said that pip command is not found: bash: pip: command not More on stackoverflow.com
🌐 stackoverflow.com
September 16, 2018
Can't install package to PyCharm but can pip install it?
If you can pip install it then it will be there. Pycharm is just an overlay, so if you install it with pip and are using that interpreter it will pick it up on next scan. More on reddit.com
🌐 r/learnpython
18
3
December 31, 2019
I tried to do a pip install in a Pycharm IDE it won't let me.
So it gave you an error. It tried to tell you what was wrong. Don't you think it would be useful to tell everyone else what the error is? More on reddit.com
🌐 r/learnpython
7
1
September 23, 2022
pip Installed Packages not working in PyCharm?

Make sure you project in Pycharm is configured to use the same python interpreter you have installed in your PATH

More on reddit.com
🌐 r/learnpython
17
2
March 12, 2018
🌐
YouTube
youtube.com › watch
How to Install pip in PyCharm | Step-by-Step Tutorial - YouTube
How to Install pip in PyCharm | Step-by-Step TutorialIn this quick tutorial, I’ll show you how to install pip, the Python package manager, right inside PyCha...
Published: April 20, 2025
🌐
YouTube
youtube.com › watch
Pycharm PIP Install | How to Install Python PIP Packages in Pycharm - YouTube
Let's get started. In this Pycharm PIP install video, we will learn how to identify the PIP version that PyCharm is currently running on as well as how to in...
Published: July 20, 2022
🌐
JetBrains
jetbrains.com › help › pycharm › installing-uninstalling-and-upgrading-packages.html
Install, uninstall, and upgrade packages | PyCharm Documentation
August 17, 2026 - PyCharm provides methods for installing, uninstalling, and upgrading Python packages for a particular Python interpreter. It means that each project has its own set of packages, which is considered a best practice for Python dependency management. By default, PyCharm uses pip to manage project packages.
🌐
YouTube
youtube.com › watch
How to Install Pip packages using PyCharm ? | How to Install Python PIP Packages in PyCharm - YouTube
#kkjavatutorials #pycharm #pythonAbout this Video:This video talks about How to Install Pip packages using PyCharm ? Follow me on Social network:Facebook: ht...
Published: January 25, 2021
🌐
Studyopedia
studyopedia.com › home › how to install python pip, pycharm on ubuntu
How to install Python PIP, PyCharm on Ubuntu - Studyopedia
June 17, 2021 - Learn how to install Python, pip and PyCharm on Ubuntu 20.04. Pip is a package management tool, whereas PyCharm IDE is a Python IDE.
Find elsewhere
🌐
YouTube
youtube.com › programmingknowledge2
How to Install Python PIP Packages On PyCharm - YouTube
### How to Install Python PIP Packages On PyCharmInstalling Python packages in PyCharm is straightforward, thanks to its built-in package management system. ...
Published: July 2, 2024
Views: 2K
🌐
YouTube
youtube.com › watch
How to Install Python PIP Packages in PyCharm - YouTube
In this Python video I am going to show you How to Install Pip packages using PyCharm or How to use PyCharm for installing and managing Pip and PyPI (Python...
Published: October 22, 2018
🌐
YouTube
youtube.com › koolac
How to install Modules in PyCharm Terminal - YouTube
📌 Tutorial on how to install modules in PyCharm with Terminal. In this video, we install numpy package (module), matplotlib package (module), pandas package...
Published: January 17, 2022
Views: 12K
🌐
JetBrains
jetbrains.com › help › pycharm › package-installation-issues.html
Package installation issues | PyCharm Documentation
November 28, 2025 - Open the system terminal (not the PyCharm's built-in one) and run the following commands: . <venv path>/bin/activate pip install <package name>
🌐
JetBrains
jetbrains.com › help › pycharm › pipenv.html
Configure a pipenv environment | PyCharm Documentation
August 17, 2026 - If no pip is discovered, install it as described in the Installation Instructions. Alternatively, you can download and install Python from http://python.org. ... For your convenience, you might add the user base’s binary directory to your ...
🌐
TMS Outsource
tms-outsource.com › home › how to install packages in pycharm quickly
How to Install Packages in PyCharm Quickly
June 22, 2026 - The integrated terminal runs pip commands directly within PyCharm, giving you the same control as a standalone command line while staying inside the IDE.
🌐
JetBrains
jetbrains.com › guide › python › tutorials › getting-started-pycharm › installing-and-managing-python-packages
Installing and Managing Python Packages - JetBrains Guide
March 30, 2023 - You just saw how easy it is to install and manage Python packages in PyCharm. Another quick tip is that sometimes people install Python packages from the local terminal without having the virtual environment activated. In this case, when you import the package using PyCharm, you will see a red squiggly line and an error saying ‘No module named requests’, for example.
🌐
Quora
quora.com › How-do-I-install-Python-packages-in-Pycharm
How to install Python packages in Pycharm - Quora
Answer (1 of 4): You don’t install them into Pycharm. What you do is in your project you associate PyCharm with your projects environment - this should be a virtual environment (I think PyCharm calls them local environments). Virtual environments are not part of Pycharm at all - they are part o...
🌐
YouTube
youtube.com › programmingknowledge2
How To Install Python Libraries In PyCharm - YouTube
In this tutorial, you will learn how to install Python libraries in PyCharm, a powerful integrated development environment (IDE) for Python development. Pyth...
Published: July 22, 2023
Views: 51K
🌐
Reddit
reddit.com › r/learnpython › can't install package to pycharm but can pip install it?
Can't install package to PyCharm but can pip install it? : r/learnpython
December 31, 2019 - You are most likely using a virtual environment. Virtual environments don’t have access to globally installed libraries. Run the same pip install command in the Pycharm terminal to install it in your virtual environment.
🌐
Quora
quora.com › What-is-the-command-to-install-a-package-in-PyCharm-like-Jupyter-Notebooks-has-Pip-install-numpy
What is the command to install a package in PyCharm like Jupyter Notebooks has “! Pip install numpy”? - Quora
Answer: you can do it 3 ways. 1. 1 type ‘pip install numpy’ into the terminal within Pycharm - not the python console 2. 2 you can do an ‘import numpy’ in your python code, and when python does the red squggle under that line it will prompt you to install and import 3. 3 if you are ...