-
Notifications
You must be signed in to change notification settings - Fork 253
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
Windows 11 - Mitsuba 3.6.0 installed via pip
silently crashes, Mitsuba 3.5.2 works
#1456
Comments
Hi @tomasiser I tried this on a fresh windows setup and couldn't reproduce it. Both the In Python, at the very least, you should be getting an import error if it failed to load a DLL, so I'm guessing something else is happening. The fact that Does importing |
Actually, could you try following the later steps of this comment: #1428 Namely, repairing your MSVC redistributable. This produced completely silent crashes when we ran into it. (We've added some steps to compilation process which shouldn't make this as issue in the future anymore, hopefully.) |
If that doesn't fix the issue, could it be that there is something non-standard about your setup? E.g using Conda, having installed Dr.Jit or Mitsuba into different paths (e.g. one system-wide, one in the home directory site-packages) |
I see, is the EDIT: I changed the issue title because it seems the original title was incorrect. |
pip install mitsuba==3.6.0
cannot find drjit-core.dll
pip
silently crashes, Mitsuba 3.5.2 works
Yes, that has changed. |
Summary
Under Windows 11, running
pip install mitsuba==3.6.0
installs bothmitsuba
anddrjit
, however, running themitsuba
command or running a Python script withimport mitsuba
simply crashes with no error messages.In comparison,
pip install mitsuba==3.5.2
works fine.My investigation (see below) leads me to believe that it cannot find
drjit-core.dll
anddrjit-extra.dll
because it is looking in the wrong places to find it.System configuration
OS: Windows 11
Python version: 3.12.5
Description
Running the Process Monitor on the
mitsuba.exe
process simply shows that it is trying to look fordrjit-core.dll
anddrjit-extra.dll
everywhere except in the directory it actually is:The correct paths in this case would be:
but Mitsuba never looks there.
Steps to reproduce
pip install mitsuba==3.6.0
mitsuba --help
and observe the process crashes with no outputimport mitsuba
andprint("Hello world")
, run it, and observe it crashes with no outputThe text was updated successfully, but these errors were encountered: