virtualenv venv --python=python3.7 returns command not found in console [duplicate]












0
















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












share|improve this 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 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
















0
















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












share|improve this 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 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














0












0








0









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












share|improve this question















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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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



















  • 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

















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












2 Answers
2






active

oldest

votes


















2














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.






share|improve this answer



















  • 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



















0














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.






share|improve this answer
























  • hi, yes I have installed it already

    – Catherine Pequiño
    Nov 17 '18 at 12:39


















2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














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.






share|improve this answer



















  • 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
















2














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.






share|improve this answer



















  • 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














2












2








2







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 16 '18 at 2:21









NotAnAmbiTurnerNotAnAmbiTurner

771522




771522








  • 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














  • 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








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













0














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.






share|improve this answer
























  • hi, yes I have installed it already

    – Catherine Pequiño
    Nov 17 '18 at 12:39
















0














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.






share|improve this answer
























  • hi, yes I have installed it already

    – Catherine Pequiño
    Nov 17 '18 at 12:39














0












0








0







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










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



















  • 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



Popular posts from this blog

Bressuire

Vorschmack

Quarantine