uci-rendering / psdr-cuda

Path-space differentiable renderer
BSD 3-Clause "New" or "Revised" License
155 stars 11 forks source link

Unable to import psdr_cuda #20

Closed Bingrong89 closed 2 years ago

Bingrong89 commented 2 years ago

I have tried rebuilding everything and am still encountering the below error when trying to import psdr_cuda, running on Ubuntu 22.04. Been trying for the past couple of hours and still can't figure out what is wrong.

Python 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import psdr_cuda terminate called after throwing an instance of 'pybind11::error_already_set' what(): SystemError: <built-in method contains of dict object at 0x7f9dcaca83c0> returned a result with an error set Aborted (core dumped)

andyyankai commented 2 years ago

I never tried it on ubuntu 22.04. Are you able to build enoki and call it from python?

Bingrong89 commented 2 years ago

Sorry I meant Ubuntu 20.04.. apparently I solved the problem by giving python the enoki build path.. thanks for helping!