简体   繁体   English

ubuntu 10.10上的virtualenvwrapper - Python

[英]virtualenvwrapper on Ubuntu 10.10 - Python

can't get virtualenvwrapper to work on Ubuntu 10.10 desktop. 无法让virtualenvwrapper在Ubuntu 10.10桌面上工作。

mkvirtualenv test_env mkvirtualenv test_env

returns: 收益:

ERROR: virtualenvwrapper could not find virtualenv in your path 错误:virtualenvwrapper在你的道路上找不到virtualenv


I followed the install instructions to the letter. 我按照安装说明写了这封信。

Any ideas? 有任何想法吗?

I got that same message when installing virtualenvwrapper using the MacPorts package manager (version py27-virtualenvwrapper @3.2_0). 使用MacPorts包管理器(版本py27-virtualenvwrapper @ 3.2_0)安装virtualenvwrapper时,我收到了相同的消息。 I had virtualenv installed, also via MacPorts. 我也安装了virtualenv,也通过MacPorts。 The only way I could get it to work was adding the bash environmental: 我能让它工作的唯一方法是添加bash环境:

export VIRTUALENVWRAPPER_VIRTUALENV=virtualenv-2.7

to my .profile file. 到我的.profile文件。 Not at all Ubuntu 10.10, but if you've got a working virtualenv on your set-up, maybe virtualenvwrapper needs a pointer ... 根本不是Ubuntu 10.10,但是如果你的设置上有一个工作的virtualenv ,也许virtualenvwrapper需要一个指针......

Well, is virtualev installed in the same python as virtualenvwrapper? 嗯,virtualev是否与virtualenvwrapper安装在同一个python中? It requires installing virtualenv separately. 它需要单独安装virtualenv。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM