Versions Compared

Key

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

...

  1. Have a CDS account. If you don't have an account, please self register at the CDS registration page.
  2. Have Python (and pip) installed on your Windows environment.

    Expand
    titleInstructions to install Python (no admin privileges needed)
    1. Download windows installer exe from Python.org download page
    2. Run the exe.
    3. Screen will be shown to chose the installation option.
    4. Uncheck "install for all user" option.
    5. Go for the custom installation.
    6. On next screen specify the directory path for which your user have full access on the computer (take a note of this as you will need it to set the environment variables).
    7. Uncheck "create shortcuts for installed application" option.
    8. Make sure "Add python to environment variable" option is Unchecked .
    9. Complete the installation.


  3. Add the installation and Script folder path in PATH using set (temporary) or setx (permanent) in a Command Prompt window. This is to make sure that your computer knows where to find the Python interpreter. To do this you will have to modify a setting called PATH, which is a list of directories where Windows will look for programs. Further details and examples are available here. You may choose also to set your environment variables into a batch file (e.g. set-env.bat which you will need to run from the Command Prompt)

    Expand
    titleExample of the content of a batch file to run in Command Prompt window

    @echo off

    set PY_HOME=C:\...\python37

    set PATH=%PY_HOME%;%PY_HOME%\Scripts;%PATH%


...