Kamil Nešetřil

Environmental data management and analytics

User Tools

Site Tools


Python – Quick guide

For Windows users who don't normally work with Python.

  1. Download the latest version of Python from the official website: Python.org and install it. During installation, check the option Add Python to PATH to enable running Python from the command line.
  2. In the command prompt 🖥️ cmd1), install the required external libraries, e.g.:
pip install numpy
pip install pyyaml

If the installation fails, try running the command with administrator privileges.

Running the program

Programs can be started using the start.bat batch file. To run manually, open the command prompt in the program folder and enter, for example:

python CONTAINER_C.py configuration.yaml

Replace configuration.yaml with the actual name of your YAML configuration file.

Troubleshooting

  • The command python is not recognized → Python is not added to PATH. Try running the installer again and choose Modify, then check Add Python to PATH.
  • Error message pip is not recognized → Instead of pip, use the command python -m pip install.
  • Permission issues when installing packages → Run the command prompt as administrator (right-click on cmd → Run as administrator).
1)
To launch the command prompt in Windows, press Win+R and enter cmd.
Last modified: