First time here? Check out the FAQ!

Revision history  [back]

If you set Python Executable in Project Properties (from the Project menu) to the Python in the venv then the env will be activated for all debugged or executed code and in the Python Shell tool. You can either use the Activated Env option to set the full path to the 'activate' script for the env or use the Command Line option to set the full path to the python or python.exe in the env.

You can verify that it's activated by printing the value of sys.executable in Python (after 'import sys'). It should be a path to the python executable in the env.