擅长:python、mysql、java
<p>在<a href="http://virtualenvwrapper.readthedocs.org/en/latest/install.html" rel="noreferrer">virtualenvwrapper install guide</a>中找到了以下内容。您可以尝试设置正确的$PATH。</p>
<p>要重写$PATH搜索,请将变量VIRTUALENVWRAPPER_PYTHON设置为要使用的解释器的完整路径,并将VIRTUALENVWRAPPER_VIRTUALENV设置为要使用的VIRTUALENV二进制文件的完整路径。两个变量都必须在获取virtualenvwrapper.sh之前设置。例如:</p>
<pre><code>export VIRTUALENVWRAPPER_PYTHON=/usr/local/bin/python
export VIRTUALENVWRAPPER_VIRTUALENV=/usr/local/bin/virtualenv
source /usr/local/bin/virtualenvwrapper.sh
</code></pre>