Python Forum
Unable to install virtual environment on python 3.8.3 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Unable to install virtual environment on python 3.8.3 (/thread-27326.html)



Unable to install virtual environment on python 3.8.3 - Allen10 - Jun-03-2020

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.


RE: Unable to install virtual environment on python 3.8.3 - Larz60+ - Jun-03-2020

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'


RE: Unable to install virtual environment on python 3.8.3 - snippsat - Jun-03-2020

Look at this post.


RE: Unable to install virtual environment on python 3.8.3 - Allen10 - Jun-03-2020

(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'



RE: Unable to install virtual environment on python 3.8.3 - Larz60+ - Jun-04-2020

Were you going to make a comment, or have a question?