Installing virtualenvwrapper on Windows

前端 未结 5 434
無奈伤痛
無奈伤痛 2021-01-30 21:06

I\'ve installed virtualenv and virtualenvwrapper on Windows using easy_install. But mkvirtualenv is missing. I tried to search on my machine but I couldn\'t find it

相关标签:
5条回答
  • 2021-01-30 21:34

    I've ported virtualenvwrapper to Powershell. Grab it from the BitBucket repo!

    0 讨论(0)
  • 2021-01-30 21:46

    mkvirtualenv is a bash script so you need to run bash shell to make use of it.

    mkvirtualenv is a bash function in the mkvirtualenv_bashrc script

    You will need to run this from cygwin under Windows. (You can call a native python from this and not need a cygwin python)

    0 讨论(0)
  • 2021-01-30 21:47

    virtualenvwrapper is for Linux/Unix, but this post gives some virtualenv support for Windows users (Bitbucket source is here).

    0 讨论(0)
  • 2021-01-30 21:54

    In windows we need to use virtualenv not mkvirtualenv while creating virtual environments

    0 讨论(0)
  • 2021-01-30 21:56

    virtualenv helpers for Windows command shell:

    • virtualenvwrapper-win is a set of DOS-style batch files (doesn't work in PowerShell).

    • env.py is a single Python2 script (blog post).

    0 讨论(0)
提交回复
热议问题