Attempting to create a new environment using venv, installed Ubuntu for WSL, updated, and installed venv without issue.
My problem is when I try to run venv, to create the new environment I used:
$ python3 -m venv ~/.virtualenvs/django
But when I try to run this from ~ (/home/username) using:
source ~/.virtualenvs/django/bin/activate
I get the following error:
bash: home/username/.virtualenvs/django/bin/activate: No such file or directory
Previously, I set up venv using:
python3 -m venv /home/testenv
Then ran:
cd /home
Followed by:
source /home/testenv/bin/activate
Which worked. My question is am I simply in the wrong directory to run this? I have tried this from /home/username, /home, following the file path all the way to bin with no luck.