I installed virtualenv and I created a virtual environment inside my directory. Everything is OK, but I can't activate it. When I run:
source /bin/activate
it says:
already: command not found
Screenshot:
I installed virtualenv and I created a virtual environment inside my directory. Everything is OK, but I can't activate it. When I run:
source /bin/activate
it says:
already: command not found
Screenshot:
You need to first install python3-venv:
sudo apt install python3-venv
Then create a virtual environment (here named vvv, but you can use a name of your liking):
python3 -m venv vvv
Then activate the environment using:
source vvv/bin/activate