user19080251
user19080251

Reputation:

Setting up and activating virtual environment

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?

Upvotes: 0

Views: 132

Answers (2)

Chidee Ohiri
Chidee Ohiri

Reputation: 11

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.

Upvotes: 1

Exaryss
Exaryss

Reputation: 11

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

Upvotes: 1

Related Questions