./stack.sh fails

asked 2018-06-02 18:32:16 -0500

michalpelka gravatar image

I am trying to follow tutorial on setting up devstack (https://docs.openstack.org/devstack/latest/ (https://docs.openstack.org/devstack/l...)) I was trying oin severals VM - ubuntu 16.04 and 18.04 both same error.

I am failing with :

...Installing setuptools, pip, wheel...done. Traceback (most recent call last): File "/usr/local/bin/virtualenv", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 712, in main symlink=options.symlink) File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 947, in create_environment download=download, File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 904, in install_wheel call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT) File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 796, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /opt/stack/requirements/.venv/bin/python - setuptools pip wheel failed with error code 1

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-09-25 14:33:41 -0500

serjik gravatar image

Manually fixed by: Execute:

~/devstack$ virtualenv /opt/stack/requirements/.venv

and then try again

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2018-06-02 18:32:16 -0500

Seen: 1,606 times

Last updated: Jun 02 '18