Home > Back-end >  Setting up and activating virtual environment
Setting up and activating virtual environment

Time:05-10

So, I've been trying to activate my virtual environment in VScode so I could open my Django manage.py and run the server, but for some reason it doesn't seem to activate in my bash terminal. And after running it, I get a "did you forget to activate your virtual environment?". What am I missing here?

CodePudding user response:

In the env folder, there should be an "activate.bat" script, that you can execute to activate your venv.

CodePudding user response:

I think you should open bash in the existing directory and run Scripts\activate

I'd also like to confirm which of the virtual environment you are making use of.

  • Related