Python and Virtualenv on Windows

后端 未结 5 1470
情深已故
情深已故 2020-12-05 23:40

How do you install virtualenv correctly on windows?

I downloaded virtualenv1.9.1 from here and tried installing it with:

python virtualenv.py install         


        
5条回答
  •  自闭症患者
    2020-12-06 00:27

    For installing virtualenv, you'll have to either install it using pip as mentioned in the answer by woozyking or you'll have to do something like this:

    $ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz
    $ tar xvfz virtualenv-1.9.1.tar.gz
    $ cd virtualenv-1.9.1
    $ [sudo] python setup.py install
    

    The command which you have used can be used to create a virtualenv. I would recommend you go through these small videos on virtualenv and virtualenvwrapper to get a better understanding:

    python-power-tools-virtualenv

    virtualenvwrapper

提交回复
热议问题