Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The WSL way

This is by far the easiest method:

  1. Install Ubuntu on WSL via the links and guides here
  2. Start the Ubuntu "program", and run  sudo apt install python3-openstackclient
  3. Carry on working as you're used to from a native Linux shell

The python way

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

...

Your Python for Windows installation is now ready for use.

Add user-specific python script directory to path

The installer does not add its script directory to the users PATH environment variable. This is recommended to do, to avoid problems later.

  1. Righ-click the windows-button and select System
  2. On the bottom of that page, select Advanced System Settings
    Image Added
  3. Select the advanced tab and click Environment variables
    Image Added
  4. Hilight Path in "User variables for <USERNAME>" and click Edit...
    Image Added
  5. Click New and enter %APPDATA%\Python\Python310\Scripts and click OK on all the windows that has appeared in this process.
    1. NOTE: Make sure thar you use the Python version actually installed here. The example is valid for Python 3.10. If you i.e install 3.9 og 3.14, use "Python39" or "Python314" respecivley in the path.


Install python-openstackclient

...