ModuleNotFoundError in Python API with extensions #208

Closed
opened 2024-07-15 19:35:24 +02:00 by tone-watson · 1 comment

When installing addons through the Extensions platform on Blender 4.2, I am getting ModuleNotFoundError: No module named 'cloudrig' when I run import cloudrig in the python console. I have tried this with multiple addons

On Blender 4.1, installing these same addons manually, I am able to import them as expected

I'm on a Mac and the location of my 4.1 instance of CloudRig is /Users/<user>/Library/Application\ Support/Blender/4.1/scripts/addons/cloudrig and in 4.2 /Users/<user>/Library/Application\ Support/Blender/4.2/extensions/blender_org/cloudrig

I was unable to find documentation about importing extension addons. Should these be able to be imported this way or am I missing a new path I need to call in Python

When installing addons through the Extensions platform on Blender 4.2, I am getting `ModuleNotFoundError: No module named 'cloudrig'` when I run `import cloudrig` in the python console. I have tried this with multiple addons On Blender 4.1, installing these same addons manually, I am able to import them as expected I'm on a Mac and the location of my 4.1 instance of CloudRig is `/Users/<user>/Library/Application\ Support/Blender/4.1/scripts/addons/cloudrig ` and in 4.2 `/Users/<user>/Library/Application\ Support/Blender/4.2/extensions/blender_org/cloudrig` I was unable to find documentation about importing extension addons. Should these be able to be imported this way or am I missing a new path I need to call in Python
tone-watson added the
Priority
Normal
Type
Report
labels 2024-07-15 19:35:24 +02:00
Author

I found you can import the extensions with bl_ext

I found you can import the extensions with `bl_ext`
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#208
No description provided.