-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing the Blender extension programmatically #79
Comments
You can install extensions via the Blender CLI, either by name from the official repository (recommended) or directly from a file.
There's no "magic" anymore, the dependency wheels are bundled in the extension now and get installed by Blender. Installing them manually might or might not cause issues. Don't think LLMs are even remotely useful for stuff like this btw 😉 |
Thanks for the pointer, I had to use:
Note the change in the name |
Ah yeah, that makes sense. You need Is everything working now for you? Any issues with dependencies? |
Nope, isn't working (from CLI):
And seems to be a reported bug: Calling addon_utils.enable(..) fails on extensions with wheels I'll look for workarounds |
Ah okay, well seems like they fixed it already at least. (Should be part of 4.3, as well as the next 4.2 bugfix release). |
Has milestone set to 4.3 ... I hope they include it in the LTS. |
I manually installed the dependencies and I got a little bit farther, now I must figure out how to call importer.
|
Yeah, it's in here. |
That should still work. |
Ok, it works with the old name. I'm installing the wheels manually to workaround the 4.2.3 bug. Thanks! |
4.2.4 and 4.3 are out now btw. 4.2.4 should work flawlessly, while 4.3 is not supported yet. I will try to keep supporting 4.2 LTS from now on btw, as well as the newest non LTS version. |
Just a note: when I tried 4.2.3 and v2.16 the name changed from "pcb3d_importer" to "bl_ext.blender_org.pcb3d_importer" |
Hi!
I'm trying to create fresh docker images for KiBot using the last release and Blender 4.2.3 LTS.
I want to programmatically install the addon.
The code for Blender 3.5 doesn't work:
It complains on the first assignment. I couldn't find much information about how to do it with the new API, and ChatGPT suggests using:
Which kind of work ...
I'm installing the dependencies by hand, so I don't need the magic that installs them.
The problems are:
I'm repacking the zip file and patching it with the bl_info (adapter from older releases), it works, but I wonder if you know a better way that doesn't need this manipulation.
I
The text was updated successfully, but these errors were encountered: