You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This is a step-by-step guide to use the Openstack CLI on Windows. The following is tested on Windows 10 only. It will take you through installing all the dependencies.

Install Python for Windows

  1. Go to this link, and grab the latest Python 2 Release. Choose the Windows x86-64 MSI Installer, and install the package. Accept all the defaults. Do not change the installation path, install Python to C:\Python27
  2. Right click on the start menu button, and select "System". In this window, click "Advanced system settings"
  3. In the System Properties window, select the Advanced tap, and click Environment Variables
  4. Now we need to create a new System variable, and then edit the System Variable "Path"
    1. Click "New" under the System variables box, and enter "PYTHON_HOME" and "C:\Python27" for name and value. Click OK.
    2. Locate the variable "Path", and click "Edit"
    3. Click "New" and add both "%PYTHON_HOME%\" and "%PYTHON_HOME%\Scripts\" to the list. Move them to the top of the list, and click "OK" in all the windows you've opened so far.

Your Python for Windows installation is now ready for use.

Install python-openstackclient

TODO

Modify your openrc.sh file to use it on Windows

TODO

  • No labels