Operating System:
X Windows
Linux
Kit Version:
X107 (Kit App Template)
106 (Kit App Template)
105 (Launcher)
Kit Template:
X USD Composer
USD Explorer
USD Viewer
Custom
GPU Hardware:
A series (Blackwell)
A series (ADA)
A series
50 series
X 40 series
30 series
GPU Driver:
Latest
Recommended (573.xx)
X Other (556.12)
I have built an extension using an extension example provided in Isaac Sim, then switched it up into USD Composer (the one by default built with kit-app-template) .
They are 3 packages i used in my extension: openpyxl, pandas and comtypes.
So i placed this in my extension.toml :
[dependencies]
âomni.kit.uiappâ = {}
âisaacsim.gui.componentsâ = {}
âisaacsim.core.apiâ = {}
[python.pipapi]
use_online_index = true
requirements = [
âpandasâ,
âopenpyxlâ,
âcomtypesâ
]
But now, i switched to a cleaner architecture, with 3 extensions :
my_extension.bundle
my_extension.core
my_extension.ui
Where the bundle extension only served as a link (no code in it), just configuration:
[dependencies]
âmy_extension.coreâ = {}
âmy_extension.uiâ = {}
And i followed this documentation Using Python Pip Packages â kit-app-template that explain how to properly download pip dependencies for an extension so you can package an application, but now Iâm running into errors.
For Pandas and openpyxl itâs working, but for comtypes, iâm getting this error:
2394-08-08T15:13:15Z [4,156ms] [Error] [omni.ext._impl.custom_importer] Failed to import python module acn.uc3.core. Error: cannot import name âgenâ from âcomtypesâ
An error that iâm not getting when placing the pip package comtypes directly in the extension.toml fileâŠ