PyAlembic load DLL failed

91 views
Skip to first unread message

Mukund Dhananjay

unread,
May 13, 2024, 11:53:11 PM5/13/24
to alembic-discussion
Hi everyone.

Managed to compile a working version of the python bindings of alembic, but whenever I go to import it into Python I get the DLL load failed error.

Can someone please clue me in to what's going on and what I need to do to resolve this?

Thanks!

Lucas Miller

unread,
May 14, 2024, 1:23:22 PM5/14/24
to alembic-discussion
Did it say WHICH DLL failed to load?  (Alembic.dll, Imath.dll, PyImath.dll etc)

Lucas

Message has been deleted
Message has been deleted

Mukund Dhananjay

unread,
May 14, 2024, 11:38:52 PM5/14/24
to alembic-discussion
So I guess I'm facing this as a generic issue; anything that I've compiled with python bindings fails to load up.
I'm using Python 3.11, and I have the packages set up in my PYTHONPATH.

For example, I've reset everything and am trying to load imath in Python. I've added the path "D:\dev\deployment\imath\lib" to PYTHONPATH and the paths "D:\dev\deployment\imath\lib" and "D:\dev\deployment\imath\bin" to PATH.

Now when I try to import imath on my python console, I get the "DLL load failed while importing imath: The specified module could not be found"

Thanks



Mukund Dhananjay

unread,
May 16, 2024, 12:15:28 PM5/16/24
to alembic-d...@googlegroups.com
So I guess I'm facing this as a generic issue; anything that I've compiled with python bindings fails to load up.
I'm using Python 3.11, and I have the packages set up in my PYTHONPATH.

For example, I've reset everything and am trying to load imath in Python. This is how the env vars are setup:

image.png

This is where the compiled libraries and site-packages are:
image.png

And this is the error I get:

image.png

-Thanks & Regards,
Mukund Dhananjay
Sr Pipeline TDPhantomFX
p 044 43846228  m  9618353367  a Hyderabad, INDIA

facebook icon
linkedin icon
twitter icon
youtube icon
instagram icon


--
You received this message because you are subscribed to a topic in the Google Groups "alembic-discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alembic-discussion/7A05fLBnMrw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alembic-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alembic-discussion/7b9d6b04-d14c-45e3-bfd3-d7ced32cc65bn%40googlegroups.com.

Lucas Miller

unread,
May 16, 2024, 12:18:59 PM5/16/24
to alembic-d...@googlegroups.com
Does your sys.path have D:\dev\deployment\imath\lib\site-packages

Hopefully your site-packages directory has the importable imath module.

Lucas

You received this message because you are subscribed to the Google Groups "alembic-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alembic-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/alembic-discussion/CAFWCgoZ8p9PMSMSW%2Bfm5-JK5A3W7PbJXbtSXt2J_5yNf9huZcg%40mail.gmail.com.

Mukund Dhananjay

unread,
May 16, 2024, 11:05:56 PM5/16/24
to alembic-d...@googlegroups.com
Hi Lucas,

My sys.path does have D:\dev\deployment\imath\lib\site-packages. I still get that message. Could this be something specific to Python 3.11?

-Thanks & Regards,
Mukund Dhananjay
Sr Pipeline TDPhantomFX
p 044 43846228  m  9618353367  a Hyderabad, INDIA

facebook icon
linkedin icon
twitter icon
youtube icon
instagram icon

Lucas Miller

unread,
May 17, 2024, 10:16:50 AM5/17/24
to alembic-d...@googlegroups.com
Maybe it can't find boost-python?  

Reply all
Reply to author
Forward
0 new messages