cc_staff
1,486
edits
Line 79: | Line 79: | ||
To install on a machine without admin privileges (provided pip is already installed) use:{{command| pip install --user python-openstackclient}} | To install on a machine without admin privileges (provided pip is already installed) use:{{command| pip install --user python-openstackclient}} | ||
which installs to ~/.local/lib/pythonX.Y/site-packages/ so by adding <code>export PYTHONPATH=${HOME}/.local/lib/python2.7/site-packages/:${PYTHONPATH}</code> to your <code>.bashrc</code> file if you are using Python major version X=2, and minor version Y=7 python can then load those modules. Further adding <code>export PATH=${HOME}/.local/bin:${PATH}</code> to your .bashrc will allow you to run the openstack commands directly. | |||
====Executing commands==== | ====Executing commands==== |