Skip to content

how to ensure venv (virtual environment) is active

Sly Automation edited this page Dec 30, 2021 · 1 revision

in the terminal type:

cd venv

cd scripts

activate

There should be (venv) in front of your project's location in the terminal:

image

revert location back to default in terminal by typing:

cd ../

cd ../

image

This will ensure all code is executed within the project.

make sure venv is not in the excluded folders, go to settings under Project and project structure:

Click the x to remove excluded folders and click apply, then ok.

image