[Django]-Virtualenv exists but cannot access it from bash script

2👍

I activated it without using the workon command and that worked:

source <path to your env>

If you need the path to your env you can do:

workon <your env name>
cdvirtualenv
pwd

And there is your path.

2👍

Try this to execute your bash script: . ./script.sh

Leave a comment