In your P圜harm project, go to File > Settings > Project > Project Interpreter.
$ pip install flask # install other packages $ pip install -U pip setuptools # get the latest versions Or you can create it from the command line and then point P圜harm at it. P圜harm has a built-in interface to create a virtualenv and install packages.
Packages and version are installed without affecting the system or other projects. The correct way to develop a Python application is with a virtualenv. I refer multiple times to the Python Packaging User Guide, written by the same group that maintains the official Python packaging tools. This answer will cover how you should set up a project environment, install packages in different scenarios, and configure P圜harm. Or, P圜harm used to be somewhat bad at detecting packages File > Invalidate Caches > Invalidate and Restart would tell it to rescan. It may be that /usr/bin/python does not point to the same interpreter that GNU Radio was installed in try pointing specifically at the python2.7 binary. Pointing P圜harm at the correct interpreter is enough if it isn't there is something else wrong that isn't apparent. In your example, GNU Radio is installed to the system Python 2's standard site-packages location, which is already in the path. apt-get), or pip in a virtualenv, packages will be installed to a location already on the path. You should never need to modify the path directly, either through environment variables or sys.path.