Saturday, June 4, 2022

[SOLVED] created virtual environment , but cant access it

Issue


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.

href="https://i.stack.imgur.com/ej9dU.jpg" rel="nofollow noreferrer">enter image description here


Solution

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



Answered By - dissenter
Answer Checked By - Terry (WPSolving Volunteer)