Installing full Quanser Python Packages
Installation of Quanser Python Packages
Install All Quanser Python Packages
Install or upgrade all the Quanser Python packages at the same time by running the commands based on your OS:
python -m pip install --upgrade pip
python -m pip install --upgrade --find-links "%QSDK_DIR%python" "%QSDK_DIR%python\quanser_api-2024.10.17-py2.py3-none-any.whl"
wget --no-cache https://repo.quanser.com/debian/release/config/configure_repo.sh
chmod u+x configure_repo.sh
./configure_repo.sh
rm -f ./configure_repo.sh
sudo apt update
sudo apt install python3-quanser-apis
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade --find-links /opt/quanser/python /opt/quanser/python/quanser_api-2024.10.17-py2.py3-none-any.whl
Note
On Windows and MacOS, the python packages are provided as wheels. On Windows they are located in the %QSDK_DIR%python folder after installing either the Quanser SDK for Windows or QUARC. On MacOS they are located in the /opt/quanser/python folder after installation.
On Linux, python packages are provided via debian packages.
You are now ready to use the code.