Python Forum

Full Version: Unable to install virtual environment on python 3.8.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I tried installing a virtual environment on python 3.8.3 and I kept getting the error shown below:
"Error: could not find a version that satisfies the requirement virtual environment <from versions: none>
Error: No matching distribution found for virtualenv".
The same also happens whenever I try installing Django.
Please help.
Thanks.
which command are you using to install the virtual environment?
you should use: python -m venv myvenvname

Then make sure you activate the environment before installing modules

something like: '. ./venv/bin/activate'
Look at this post.
(Jun-03-2020, 10:49 AM)Larz60+ Wrote: [ -> ]which command are you using to install the virtual environment?
you should use: python -m venv myvenvname

Then make sure you activate the environment before installing modules

something like: '. ./venv/bin/activate'
Were you going to make a comment, or have a question?