Home > Software design >  created virtual environment , but cant access it
created virtual environment , but cant access it

Time:02-19


it shows created virtual environment. But it is not redirect to virtual environment . after I upgraded the pip no changes where appear . please help me to get that.

enter image description here

CodePudding user response:

Virtualenv is created. You need to activate virtual environment too

Like:

venv_name\Scripts\activate

CodePudding user response:

change the windows power shell to command prompt , or to terminal of using IDE , and type in this. .cd currentdirectory name . mkvirtualenv envname .then you can see any warning messages then go to next step .pip install migrate .then try again 2nd step

CodePudding user response:

You must navigate to where your virtual environment is installed, then execute the activation script.

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

PowerShell PS C:\> <venv>\Scripts\Activate.ps1

https://docs.python.org/3/library/venv.html

  • Related