12x
005643
2024-12-31

Installation of External Libraries for Python Console and In-App Scripting

How can I install external libraries for the console and in-app scripting with Python?


Answer:

The Python console and in-app scripting with Python allow for the integration of external libraries into the code.
There are two simple methods to install external libraries:

1. Installation via console:

The install_packages("packageName") command allows you to install external libraries directly into the Python console of RFEM. Type this command into the console and press Enter to start the installation.

2. Installation via Terminal:

The terminal can be opened by clicking the black button at the top of the console or in the script manager. Enter the command python -m pip install packageName and confirm by pressing the Enter key. The desired library will then be installed in the virtual environment of RFEM.


Author

Ms. Göbel provides technical support for Dlubal Software customers.



;