Ask Your Question
1

./stack.sh fails

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

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
0

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

serjik gravatar image

Manually fixed by: Execute:

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

and then try again

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

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

Seen: 328 times

Last updated: Jun 02 '18