Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save squeaky-pl/63e45f1e479f0a3478c4fc1dd140bb79 to your computer and use it in GitHub Desktop.
Save squeaky-pl/63e45f1e479f0a3478c4fc1dd140bb79 to your computer and use it in GitHub Desktop.
pypy 3 + virtualenv error
LD_LIBRARY_PATH=pypy-c-jit-84568-d463dd98e6a6-linux64/bin virtualenv --clear -p pypy-c-jit-84568-d463dd98e6a6-linux64/bin/pypy3 venv-pypy3
Running virtualenv with interpreter pypy-c-jit-84568-d463dd98e6a6-linux64/bin/pypy3
Deleting tree /home/squeaky/Downloads/venv-pypy3
Not deleting /home/squeaky/Downloads/venv-pypy3/bin
Using base prefix '/home/squeaky/Downloads/pypy-c-jit-84568-d463dd98e6a6-linux64'
New pypy executable in /home/squeaky/Downloads/venv-pypy3/bin/pypy3
Also creating executable in /home/squeaky/Downloads/venv-pypy3/bin/pypy
Installing setuptools, pip, wheel...
Complete output from command /home/squeaky/Downloads/venv-pypy3/bin/pypy3 - setuptools pip wheel:
Collecting setuptools
Downloading setuptools-21.2.0-py2.py3-none-any.whl (509kB)
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl/pip/commands/install.py", line 299, in run
requirement_set.prepare_files(finder)
File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 621, in _prepare_file
dist = abstract_dist.dist(finder)
File "/usr/lib/python2.7/site-packages/virtualenv_support/pip-8.1.1-py2.py3-none-any.whl/pip/req/req_set.py", line 108, in dist
self.req_to_install.source_dir))[0]
IndexError: list index out of range
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 2316, in <module>
main()
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 708, in main
symlink=options.symlink)
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 941, in create_environment
download=download,
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 897, in install_wheel
call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
File "/usr/lib/python2.7/site-packages/virtualenv.py", line 792, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/squeaky/Downloads/venv-pypy3/bin/pypy3 - setuptools pip wheel failed with error code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment