Instal Python Packages
Install dependencies into the Studio Python environment.
The Import Package Window lets you add Python dependencies to the same environment that runs:
Designer Window custom blocks (
custom_blocks/*.py)other user scripts that execute inside AugeLab Studio
First Look

Open the Window
Menu:
Tools > Import Package Window
Quick Cheat Sheet
Copy a single .py file into Studio
IMPORT SCRIPT TO STUDIO
Good for small helpers (e.g., utils.py).
Copy an entire local folder (package) into Studio
IMPORT PACKAGE TO STUDIO
Choose a folder that contains Python modules.
Install from PyPI
INSTALL PACKAGE FROM PYPI + ADD PACKAGE TO STUDIO
Internet required. You can enter multiple names (comma-separated).
Validate package name/version info
CHECK PACKAGE INFO
Prints metadata into the log panel.
Open the built-in help text
Help (top menu in the window)
Opens “Import Python Package Manual”.
Installing community packages can reduce portability. If your scenario needs to run on another machine, install the same packages there too (same Python version + platform).
Install from PyPI
Open
Tools > Import Package Window.In INSTALL PACKAGE FROM PYPI, type one or more package names (comma-separated).
Click CHECK PACKAGE INFO to confirm the package exists and to review metadata.
Click ADD PACKAGE TO STUDIO and watch the log for progress/errors.
Packages are installed into the Studio “pkgs” directory (the same environment used by Designer custom blocks).
Import a local script (.py)
Click IMPORT SCRIPT TO STUDIO.
Choose a
.pyfile.Confirm the success message.
Use this when you want to import a helper module and then do import my_helper from your custom block.
Last updated