0

I am trying to activate my virtual environment for Python but upon following many suggestions such as '''source bin/activate''', it comes up with ''''source' is not recognised as an internal or external command, operable program or batch file.''' in the command prompt. How can I fix this? Or are there any other ways of activating my virtual env for python.

The virtual env in located on my desktop. I am trying to fix the "flask module not found".

1 Answers1

0

On windows use the batch file:

\path\to\env\Scripts\activate

e.g.:

C:\> <venv>\Scripts\activate.bat

Ref: https://docs.python.org/3/library/venv.html#creating-virtual-environments

rdas
  • 20,604
  • 6
  • 33
  • 46