문제

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. I don't know how to solve it. Do you have any idea?

도움이 되었습니까?

해결책

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)

다른 팁

virtualenv helpers for Windows command shell:

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

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

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top