在 Windows 上安装 virtualenvwrapper [英] Installing virtualenvwrapper on Windows

查看:30
本文介绍了在 Windows 上安装 virtualenvwrapper的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用 easy_install 在 Windows 上安装了 virtualenv 和 virtualenvwrapper.但是 mkvirtualenv 不见了.我试图在我的机器上搜索,但找不到.我不知道如何解决.你有什么想法吗?

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 是一个 bash 脚本,所以你需要运行 bash shell 才能使用它.

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

mkvirtualenv 是 mkvirtualenv_bashrc 脚本中的一个 bash 函数

mkvirtualenv is a bash function in the mkvirtualenv_bashrc script

您需要在 Windows 下从 cygwin 运行它.(您可以从此调用本机 python 而不需要 cygwin python)

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

这篇关于在 Windows 上安装 virtualenvwrapper的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆