- On the top left corner, click file-settings or do ctrl+alt+s.
- Go to Python Interpreter.
- Click the plus sign that is near the bottom.
- Search up the package you want to install, like numpy or matplotlib.
- Click Install Package
- Wait until it is installed, and then you are done!