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
cannot import name '_C' from 'kaolin' #623
Comments
Hi @surheaven , thank you for you interest in Kaolin. Can you show the full the commands you have been running and the full logs? |
pip install kaolin==0.11
|
python setup.py develop |
We do not recommend pip install. Please follow our installation instructions: https://kaolin.readthedocs.io/en/latest/notes/installation.html |
But setup also reports an error. |
python setup.py develop |
what is the returned values from: |
/home/user/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/bin:/usr/local/cuda |
This is not a normal value, should be "/usr/local/cuda", looks like pytorch or CUDA issue. |
Thanks. |
I am facing the same issue:
As you mentioned @Caenorst, I am attaching my output of Any suggestion on how to fix it is welcome. |
Hi @robo-warrior2 Please copy-paste the full logs following |
@Caenorst The full log is quite long and can't fully attach here, but I have pasted the important parts:
.
|
Please open a new issue, also make sure that you have the latest commit of Kaolin ( |
git pull origin master solved the issue. So seems like it has been fixed recently. Thanks! |
I want to use it on gpu 2090, so I used kaolin-v0.11.0, but he reported an error "ImportError: cannot import name '_C' from 'kaolin' "
The relevant configuration is: python 3.7.13; torch1.8.1+cu111.
I well tried to install 0.11.0 and 0.12.0 manually, but reported an error
"FileNotFoundError: [Errno 2] No such file or directory: '/home/user/anaconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/ sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/bin:/usr/local/cuda/bin/nvcc': '/home/user/anaconda3 /condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/bin:/ usr/local/cuda/bin/nvcc'"
But I run nvcc -V, and get the following result.
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2020 NVIDIA Corporation
Built on Tue_Sep_15_19:10:02_PDT_2020
Cuda compilation tools, release 11.1, V11.1.74
Build cuda_11.1.TC455_06.29069683_0
The text was updated successfully, but these errors were encountered: