Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I found that unlike you my paths were wrong according to brew doctor. But after correcting that I still had the issue (no surprises given your description) so I uninstalled virtualenv then reinstalled but this time with sudo, <code>sudo pip install virtualenv</code></p> <p>This resolved the issue, which indicates that I've either got another problem with the system configuration in general or someone who has more then my one hour of Python experience will be able to point out why it's not good (I think it's related to global installing being considered a bad practice).</p> <p>Seth is onto something with <code>which</code> seems you see the same as me,</p> <p><code>~ which python</code> results in <code>/usr/local/bin/python</code></p> <p><code>~ ls -l /usr/local/bin/python</code> gives me <code>_permissions_etc_ /usr/local/bin/python -&gt; ../Cellar/python/2.7.5/bin/python</code></p> <p>Pip</p> <p><code>which pip</code> pointed to <code>/usr/local/bin/pip</code></p> <p><code>ls -l /usr/local/bin/pip</code> shows <code>_permissions_etc_ /usr/local/bin/pip -&gt; ../Cellar/python/2.7.5/bin/pip</code></p> <p>Virtualenv (I don't have an output prior to the sudo pip install)</p> <p><code>which virtualenv</code> is <code>/usr/local/bin/virtualenv</code></p> <p><code>ls -l /usr/local/bin/virtualenv</code> shows <code>_permissions_etc_ /usr/local/bin/virtualenv</code></p> <p>When I created and use a virtualenv I get the following,</p> <pre><code>workon ve_test which python /Users/_username_/.virtualenvs/ve_test/bin/python (ve_test)➜ ~PIP_VIRTUALENV_BASE python --version Python 2.7.5 </code></pre> <p>FWIW my .zshrc has the following,</p> <pre><code># Python related # http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/ # http://docs.python-guide.org/en/latest/dev/virtualenvs.html source /usr/local/bin/virtualenvwrapper.sh # virtualenv should use Distribute instead of legacy setuptools export VIRTUALENV_DISTRIBUTE=true # Centralized location for new virtual environments export PIP_VIRTUALENV_BASE=$HOME/Projects/PythonVirtualEnv # cache pip-installed packages to avoid re-downloading export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload