Home > OS >  How can I access my virtual environment created 1 week ago using ubuntu? I just know the name of the
How can I access my virtual environment created 1 week ago using ubuntu? I just know the name of the

Time:09-16

I installed my first virtual environment using this commands below

Commands used:

apt-get update -y
apt-get install -y python3-venv
mkdir awesome_python_project
cd awesome_python_project
python3 -m venv awesome_venv
source awesome_venv/bin/activate

but I can't access it again, does anyone knows why?

CodePudding user response:

You can re-active your virtual environment again by going to the awesome_python_project folder and repeat the last command.

That is:

cd awesome_python_project

To go to the project folder. And

source awesome_venv/bin/activate

To activate your virtual environment

  • Related