Installing UOpt Python¶
The Python package uopt is shipped with the UOpt solve and can be
found in the directory $UOPT_HOME/share/UOpt/python
.
Installing¶
Open a terminal and enter the command:
pip install uopt-1.4.0.732-py3-none-any.whl
On Windows, you may also navigate to %UOPT_HOME%\share\UOpt\scripts
and double click to script install_python_module.cmd to execute it.
Verifying the installation¶
Open a terminal and enter python
to start python.
Enter import uopt
at the python prompt. The UOpt Python module
should be found and loaded.