Note that there are some explanatory texts on larger screens.

plurals
  1. POStarting Virtualenv OSError
    text
    copied!<p>I'm trying to set up a virtualenv.</p> <p>when I run $ virtualenv venv</p> <p>I receive: </p> <pre><code>New python executable in venv/bin/python Installing Setuptools.............................................................................................done. Installing Pip................... Complete output from command /Users/Marcus/Docume...envs/venv/bin/python setup.py install --single-version-externally-managed --record record: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points' warnings.warn(msg) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'extras_require' warnings.warn(msg) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: setup.py --help [cmd1 cmd2 ...] or: setup.py --help-commands or: setup.py cmd --help error: option --single-version-externally-managed not recognized ---------------------------------------- ...Installing Pip...done. Traceback (most recent call last): File "/Users/Marcus/.local/bin/virtualenv", line 9, in &lt;module&gt; load_entry_point('virtualenv==1.10.1', 'console_scripts', 'virtualenv')() File "/Library/Python/2.7/site-packages/virtualenv.py", line 821, in main symlink=options.symlink) File "/Library/Python/2.7/site-packages/virtualenv.py", line 963, in create_environment install_sdist('Pip', 'pip-*.tar.gz', py_executable, search_dirs) File "/Library/Python/2.7/site-packages/virtualenv.py", line 932, in install_sdist filter_stdout=filter_install_output) File "/Library/Python/2.7/site-packages/virtualenv.py", line 899, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /Users/Marcus/Docume...envs/venv/bin/python setup.py install --single-version-externally-managed --record record failed with error code 1 </code></pre> <p>Has anyone seen this before? If so, How do I fix it? thanks</p> <p><em><strong>extra info</em></strong> not sure if it's relevant</p> <p>in bashrc</p> <pre><code># pip --------------------------------------------------------- export PIP_VIRTUALENV_BASE=$WORKON_HOME export PIP_REQUIRE_VIRTUALENV=false export PIP_RESPECT_VIRTUALENV=true 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