Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting subprocess error with return code -9 when running virtualenv.py in openwrt #934

Closed
sebpiq opened this issue Jun 10, 2016 · 2 comments

Comments

@sebpiq
Copy link

sebpiq commented Jun 10, 2016

Hi!

I am trying to setup a virtualenv in openwrt, on a USB stick which has one ext4 partition.
I haven't actually installed virtualenv (didn't run setup.py), I have just cloned the source code to the stick which is then mounted at /mnt/SEBKEY/ on the openwrt router. When I try to run python virtualenv.py /mnt/SEBKEY/env I get the following error :

New python executable in /mnt/SEBKEY/env/bin/python
Installing setuptools, pip, wheel...
  Complete output from command /mnt/SEBKEY/env/bin/python - setuptools pip wheel:
  Collecting setuptools
  Using cached setuptools-23.0.0-py2.py3-none-any.whl
Collecting pip
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "virtualenv.py", line 2316, in <module>
    main()
  File "virtualenv.py", line 708, in main
    symlink=options.symlink)
  File "virtualenv.py", line 941, in create_environment
    download=download,
  File "virtualenv.py", line 897, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "virtualenv.py", line 792, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /mnt/SEBKEY/env/bin/python - setuptools pip wheel failed with error code -9

The strange thing is that the exact same operation used to work 2 months ago. It was a different USB stick and probably different versions of the code, or libs, but unfortunately I cannot recover these...
Couldn't get any answer from google, and couldn't figure out what this -9 return code means. Any help would be greatly appreciated :)

@makazeu
Copy link

makazeu commented Dec 29, 2016

Maybe memory wasn't enough.

@stale
Copy link

stale bot commented Jan 14, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 14, 2019
@stale stale bot closed this as completed Jan 21, 2019
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants