Skip to content
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

Successful installation, but TypeError: Unregistered type : std::pair<object,char const * __ptr64> when run "import tinycudann" #476

Open
LiC7673 opened this issue Nov 2, 2024 · 0 comments

Comments

@LiC7673
Copy link

LiC7673 commented Nov 2, 2024

I run 'pip install .',return: Processing d:\appdata\tinycnn\tiny-cuda-nn\bindings\torch
Preparing metadata (setup.py) ... done
Building wheels for collected packages: tinycudann
Building wheel for tinycudann (setup.py) ... done
Created wheel for tinycudann: filename=tinycudann-1.7-cp37-cp37m-win_amd64.whl size=24901945 sha256=e21195e4634e938e7a341bdfcf4050b49831a6536d46b67bd27c25dec9a2073a
Stored in directory: C:\Users\AAAA\AppData\Local\Temp\pip-ephem-wheel-cache-7se9oiyj\wheels\f2\29\fc\129f4d32bb099e0f1e26ae9ea888f259cd9dff646cc208567d
Successfully built tinycudann
Installing collected packages: tinycudann
Successfully installed tinycudann-1.7But when run "import tinycudann", return File "", line 1, in
File "D:\appdata\tinycnn\tiny-cuda-nn\bindings\torch\tinycudann_init_.py", line 9, in
from tinycudann.modules import free_temporary_memory, NetworkWithInputEncoding, Network, Encoding
File "D:\appdata\tinycnn\tiny-cuda-nn\bindings\torch\tinycudann\modules.py", line 55, in
C = importlib.import_module(f"tinycudann_bindings.{cc}C")
File "D:\appdata\anaconda\envs\gsdf\lib\importlib_init
.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: initialization failed`
this is my env:
win11,
python 3.7.13,
pybind11 2.13.6,
torch 1.13.1+cu116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant