how to ensure venv (virtual environment) is active - slyautomation/osrs_yolov5 GitHub Wiki

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