In MACOS terminal
, when I do python3 -V
, I get this:
Python 3.7.6
now I create a virtualenv
by doing this:
dev$ python3 -m venv project-one
and activate
by doing this:
dev$ source project-one/bin/activate
I have a requirement.txt
file with the following:
python==3.6.8
numpy==1.18.1
matplotlib==3.1.1
now I do pip3 install requirement.txt
but I get this error:
ERROR: Could not find a version that satisfies the requirement requirements.txt
I used several python3.6.x
version but it does not work.
What do I want?
I want to have a virtualenv
with Python
version python3.6.x
so when I run any code inside the virtualenv
, it is via python3.6.x