Install Python packages in pycharm

PyCharm is very user friendly and we can do a lot of things in their user interface instead of command lines. One is install python packages.

Let’s go through this.

First, Go to “File” –> “Settings … “

Then, go to “Project” tab –> Project Interpreter –> Click “+” sign highlighted in the picture below

In this example, we will try to install “opencv-python” package

Type “opencv-python” and select the package. Click “Install Package” as shown below.

It will say “installing package ‘opencv-pyton’ .. and wait for a min.

Then, you see Package ‘opencv-python’ install successfully.

That’s it. Now, you can start importing. In this case,

import cv2

green scientist
Love travel, running, engineering, and gardening. Exploring new parks.

Leave a Reply

%d bloggers like this: