cmd.
Python – Quick guide
For Windows users who don't normally work with Python.
- Download the latest version of Python from the official website: Python.org and install it. During installation, check the option
Add Python to PATHto enable running Python from the command line. - 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
pythonis not recognized → Python is not added to PATH. Try running the installer again and chooseModify, then checkAdd Python to PATH. - Error message
pip is not recognized→ Instead ofpip, use the commandpython -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
Last modified: