virtualenv venv --python=python3.7 returns command not found in console [duplicate]
This question already has an answer here:
Virtualenv Command Not Found
16 answers
I am trying to create a virtual environment by executing this command:
virtualenv venv --python=python3.7 but it returns 'command not found' error
python pip virtualenv
marked as duplicate by phd, stovfl, VDWWD, Mark Rotteveel, Patrick Mevzek Nov 16 '18 at 15:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
Virtualenv Command Not Found
16 answers
I am trying to create a virtual environment by executing this command:
virtualenv venv --python=python3.7 but it returns 'command not found' error
python pip virtualenv
marked as duplicate by phd, stovfl, VDWWD, Mark Rotteveel, Patrick Mevzek Nov 16 '18 at 15:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
have you not installedvirtualenv
yet?
– davedwards
Nov 16 '18 at 1:51
stackoverflow.com/search?q=%5Bvirtualenv%5D+command+not+found
– phd
Nov 16 '18 at 11:59
add a comment |
This question already has an answer here:
Virtualenv Command Not Found
16 answers
I am trying to create a virtual environment by executing this command:
virtualenv venv --python=python3.7 but it returns 'command not found' error
python pip virtualenv
This question already has an answer here:
Virtualenv Command Not Found
16 answers
I am trying to create a virtual environment by executing this command:
virtualenv venv --python=python3.7 but it returns 'command not found' error
This question already has an answer here:
Virtualenv Command Not Found
16 answers
python pip virtualenv
python pip virtualenv
asked Nov 16 '18 at 1:49
Catherine PequiñoCatherine Pequiño
44
44
marked as duplicate by phd, stovfl, VDWWD, Mark Rotteveel, Patrick Mevzek Nov 16 '18 at 15:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by phd, stovfl, VDWWD, Mark Rotteveel, Patrick Mevzek Nov 16 '18 at 15:35
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
have you not installedvirtualenv
yet?
– davedwards
Nov 16 '18 at 1:51
stackoverflow.com/search?q=%5Bvirtualenv%5D+command+not+found
– phd
Nov 16 '18 at 11:59
add a comment |
have you not installedvirtualenv
yet?
– davedwards
Nov 16 '18 at 1:51
stackoverflow.com/search?q=%5Bvirtualenv%5D+command+not+found
– phd
Nov 16 '18 at 11:59
have you not installed
virtualenv
yet?– davedwards
Nov 16 '18 at 1:51
have you not installed
virtualenv
yet?– davedwards
Nov 16 '18 at 1:51
stackoverflow.com/search?q=%5Bvirtualenv%5D+command+not+found
– phd
Nov 16 '18 at 11:59
stackoverflow.com/search?q=%5Bvirtualenv%5D+command+not+found
– phd
Nov 16 '18 at 11:59
add a comment |
2 Answers
2
active
oldest
votes
Personally, I think virtualenv
is deprecated now that venv
comes with Python 3.7 (https://docs.python.org/3/library/venv.html).
Virtual environments are created like so with venv
(according to the docs):
python3 -m venv /path/to/new/virtual/environment
I don't think venv
is a virtualenv
command (https://virtualenv.pypa.io/en/stable/userguide/#usage; https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments), and at least not for what you are trying to do. The command for new virtual environments with virtualenv
is virtualenv ENV
.
1
If you're a Mac user thenvenv
will also set up Python as a framework. This makes Matplotlib's default renderer work. I've switched tovenv
just for this feature.
– Adam
Nov 16 '18 at 2:28
add a comment |
maybe you should install virtualenv first:
pip install virtualenv
maybe you should check the virtualenvwrapper, which is based on virtualenv and much easier to manage your virtual environment.
hi, yes I have installed it already
– Catherine Pequiño
Nov 17 '18 at 12:39
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Personally, I think virtualenv
is deprecated now that venv
comes with Python 3.7 (https://docs.python.org/3/library/venv.html).
Virtual environments are created like so with venv
(according to the docs):
python3 -m venv /path/to/new/virtual/environment
I don't think venv
is a virtualenv
command (https://virtualenv.pypa.io/en/stable/userguide/#usage; https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments), and at least not for what you are trying to do. The command for new virtual environments with virtualenv
is virtualenv ENV
.
1
If you're a Mac user thenvenv
will also set up Python as a framework. This makes Matplotlib's default renderer work. I've switched tovenv
just for this feature.
– Adam
Nov 16 '18 at 2:28
add a comment |
Personally, I think virtualenv
is deprecated now that venv
comes with Python 3.7 (https://docs.python.org/3/library/venv.html).
Virtual environments are created like so with venv
(according to the docs):
python3 -m venv /path/to/new/virtual/environment
I don't think venv
is a virtualenv
command (https://virtualenv.pypa.io/en/stable/userguide/#usage; https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments), and at least not for what you are trying to do. The command for new virtual environments with virtualenv
is virtualenv ENV
.
1
If you're a Mac user thenvenv
will also set up Python as a framework. This makes Matplotlib's default renderer work. I've switched tovenv
just for this feature.
– Adam
Nov 16 '18 at 2:28
add a comment |
Personally, I think virtualenv
is deprecated now that venv
comes with Python 3.7 (https://docs.python.org/3/library/venv.html).
Virtual environments are created like so with venv
(according to the docs):
python3 -m venv /path/to/new/virtual/environment
I don't think venv
is a virtualenv
command (https://virtualenv.pypa.io/en/stable/userguide/#usage; https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments), and at least not for what you are trying to do. The command for new virtual environments with virtualenv
is virtualenv ENV
.
Personally, I think virtualenv
is deprecated now that venv
comes with Python 3.7 (https://docs.python.org/3/library/venv.html).
Virtual environments are created like so with venv
(according to the docs):
python3 -m venv /path/to/new/virtual/environment
I don't think venv
is a virtualenv
command (https://virtualenv.pypa.io/en/stable/userguide/#usage; https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments), and at least not for what you are trying to do. The command for new virtual environments with virtualenv
is virtualenv ENV
.
answered Nov 16 '18 at 2:21
NotAnAmbiTurnerNotAnAmbiTurner
771522
771522
1
If you're a Mac user thenvenv
will also set up Python as a framework. This makes Matplotlib's default renderer work. I've switched tovenv
just for this feature.
– Adam
Nov 16 '18 at 2:28
add a comment |
1
If you're a Mac user thenvenv
will also set up Python as a framework. This makes Matplotlib's default renderer work. I've switched tovenv
just for this feature.
– Adam
Nov 16 '18 at 2:28
1
1
If you're a Mac user then
venv
will also set up Python as a framework. This makes Matplotlib's default renderer work. I've switched to venv
just for this feature.– Adam
Nov 16 '18 at 2:28
If you're a Mac user then
venv
will also set up Python as a framework. This makes Matplotlib's default renderer work. I've switched to venv
just for this feature.– Adam
Nov 16 '18 at 2:28
add a comment |
maybe you should install virtualenv first:
pip install virtualenv
maybe you should check the virtualenvwrapper, which is based on virtualenv and much easier to manage your virtual environment.
hi, yes I have installed it already
– Catherine Pequiño
Nov 17 '18 at 12:39
add a comment |
maybe you should install virtualenv first:
pip install virtualenv
maybe you should check the virtualenvwrapper, which is based on virtualenv and much easier to manage your virtual environment.
hi, yes I have installed it already
– Catherine Pequiño
Nov 17 '18 at 12:39
add a comment |
maybe you should install virtualenv first:
pip install virtualenv
maybe you should check the virtualenvwrapper, which is based on virtualenv and much easier to manage your virtual environment.
maybe you should install virtualenv first:
pip install virtualenv
maybe you should check the virtualenvwrapper, which is based on virtualenv and much easier to manage your virtual environment.
answered Nov 16 '18 at 2:50
hanleileihanleilei
12915
12915
hi, yes I have installed it already
– Catherine Pequiño
Nov 17 '18 at 12:39
add a comment |
hi, yes I have installed it already
– Catherine Pequiño
Nov 17 '18 at 12:39
hi, yes I have installed it already
– Catherine Pequiño
Nov 17 '18 at 12:39
hi, yes I have installed it already
– Catherine Pequiño
Nov 17 '18 at 12:39
add a comment |
have you not installed
virtualenv
yet?– davedwards
Nov 16 '18 at 1:51
stackoverflow.com/search?q=%5Bvirtualenv%5D+command+not+found
– phd
Nov 16 '18 at 11:59