Managing Packages in Pycharm
Last Updated :
17 Jan, 2021
Pycharm supports installation, uninstallation, and up-gradation of Python packages. By default, Pycharm makes use of the pip package manager for the same. Similarly, conda package managers are used to handle Conda environments. In this article, we will look into the process of managing python packages in Pycharm.
Installing Packages:
Follow the below steps to install packages in Pycharm:
- Step 1: Create a Pycharm project. It will look like the below image.

- Step 2: Now go to File → settings → project → python interpreter. A screen will appear like below.

- Step 3: Now click on the "+" symbol on the left bottom corner. A new screen will appear like below. Search for the package you want to install (e.g. matplotlib, numpy , scipy, etc).
Depending upon your need check the boxes:
- Specify version: This is used to install a specific version of the package. For this, you will also need to specify the version you need to install. By default, it takes the latest version.
- Options: If checked, it can be used to run pip commands in the text field (e.g. pip install Flask).
- Install to user's site packages directory <path>: If checked, you can specify where(ie, specific directory) you want the package to be installed. By default, it installs packages in the current interpreter. This option is not available for Conda environments.
- Step 4: At the end click Install Package. Based on your internet speed it will take some time.
After all these steps in the bottom corner, you will get a message like “[YOUR PACKAGE NAME] is installed successfully".
Uninstalling Packages:
To uninstall a package in Pycharm follow the below steps:
- Step 1: Navigate to setting → Project Interpreter as shown below.
- Step 2: Select the Package you need to uninstall and click Uninstall or "-" symbol.
This will uninstall your selected package.
Upgrading Packages:
Pycharm automatically tracks if a python package is outdated. It lists the currently installed package version (column Version), and the latest available version (column Latest version). Pycharm marks newer available versions of the packages with an arrow and suggests to upgrade them.
To upgrade an existing package in Pycharm follow the below steps:
- Step 1: Navigate to setting → Project Interpreter as shown below.
- Step 2: Select the package and click on the Upgrade symbol (⇑) to upgrade the selected package.
This will upgrade the selected package to the latest version. You will also receive an acknowledgment if the upgradation fails or is successful.
Similar Reads
Personalized Task Manager in Python In this article, we are going to create a task management software in Python. This software is going to be very useful for those who don't want to burden themselves with which task they have done and which they are left with. Being a coder we have to keep in mind which competition is going on, which
10 min read
Managing Python Dependencies Managing dependencies becomes crucial to ensure smooth development and deployment processes. In this article, we will explore various methods for managing Python dependencies, from the basics of using pip to more advanced tools like virtualenv and pipenv. How to Manage Dependencies in PythonBelow ar
2 min read
Building Desktop Applications in Python Desktop applications are crucial for various industries, from business management tools to personal productivity software. Python, known for its simplicity and versatility, is a great choice for building desktop applications. It offers several powerful GUI frameworks that make development easier and
8 min read
Monitoring Memory Usage of a Running Python Program Managing memory is important in any programming logic but this becomes necessary for Python as Python is used in Ml and AI where vast data needs to be managed. Memory leaks, i.e., the program is out of memory after running for several hours. To manage these memory leaks memory monitoring is essentia
3 min read
Menu Driven Python program for opening the required software Application In this article, we will create a menu-driven Python program which will execute the required user tool when user will give the input as a text. We can interact to OS through GUI (graphical user interface) and CLI (command line interface). We can also give the instructions to OS through programming l
3 min read
Python Setup Let us see how to set up Python in our system. We can directly download the latest version of Python from the official website. Before setting up IDE you need to first install Python in your system, you can refer to this article first for step-by-step procedures. How to install Python on Linux?How t
3 min read