-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unit tests failing ImportError: cannot import name '_C' from 'pytorch3d' #1664
Comments
I ended up reinstalling everything and making to sure to include the necessary components in the VS build tools installer. It seems to be working on my Windows 10 machine. Also removed ninja from path windows 10 SDK |
It appear the unit tests are failing now:
|
moved to python 3.10 and upgraded pytorch less errors in unit tests but still same cannot import issue pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 |
I think the problem here may be a gotcha with paths. Are you installing with To test this theory, can you try moving to another directory and starting python and running If this theory is wrong and the installation of pytorch3d definitely succeeded, then you probably have a file called |
i met the same problem,have you already solve it? |
@ofdengdeng please open a new issue with details of your setup if you still need help. This one is stale. |
Following the install instructions when I get to python setup.py install I end up with this. I had downloaded ninja and added it to my path, without ninja a don't get as far it quit earlier
C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Tools/MSVC/14.37.32822/include\crtdefs.h(10): fatal error C1083: Cannot open include file: 'corecrt.h': No such file or directory
marching_cubes.cu
The text was updated successfully, but these errors were encountered: