-
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
Installation problems on weindows #894
Comments
enviroments :
|
Are you using the latest version of the |
Sorry for not replying to you in time, because I reinstalled the window system, and now I have built the new windows system and install following: and : set DISTUTILS_USE_SDK=1 , add CUB_HOME , then,the error is : |
I download the 0.6 version from releases |
I have put the relevant error from your file below. You have the same problem as #876, although I find the actual wording of the error messages unfamiliar. This has been fixed on the main branch at 1a7442a . You might find it easier to make the changes in that commit locally in your code.
|
According to your instructions, modify the not keyword. After I successfully installed it, but it doesn't seem to work on the GPU. Then I checked the relevant problems and installed the complete CUDA 10.2 instead of just CUDA in pytorch. However, it still does not support GPU, and then I tried to reinstall pytorch3d. Unfortunately, the installation failed, and then I reduced vs2019 to version 16.9, but it still failed folling: E:/Anaconda3/envs/pytorch_gpu/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier E:/Anaconda3/envs/pytorch_gpu/lib/site-packages/torch/include\c10/util/ThreadLocalDebugInfo.h(12): warning: modifier is ignored on an enum specifier nvcc warning : The -std=c++14 flag is not supported with the configured host compiler. Flag will be ignored. During handling of the above exception, another exception occurred: Traceback (most recent call last): |
GPU error details are as follows: Traceback (most recent call last): |
Maybe I could make some changes to some of the Torch1.6 headers? But I don't know what to change. I didn't find the concerned website |
You should have a log file with a more detailed error. (Or, if not, maybe your compilation has run out of memory. Try building again with the environment variable MAX_JOBS set to 1.) |
Thank you for your guidance. Although my work still didn't work, I finally chose to run on colab |
running build
running build_py
running build_ext
building 'pytorch3d._C' extension
Emitting ninja build file D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\build.ninja...
Compiling objects...
Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
1.10.2
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Anaconda3\envs\pytorch_gpu\lib\site-packages\torch\lib "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\lib/x64" /LIBPATH:C:\Anaconda3\envs\pytorch_gpu\libs /LIBPATH:C:\Anaconda3\envs\pytorch_gpu\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" c10.lib torch.lib torch_cpu.lib torch_python.lib cudart.lib c10_cuda.lib torch_cuda.lib /EXPORT:PyInit__C D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\ext.obj D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\ball_query\ball_query_cpu.obj D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\blending\sigmoid_alpha_blend_cpu.obj D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\compositing\alpha_composite_cpu.obj D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\compositing\norm_weighted_sum_cpu.obj D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\compositing\weighted_sum_cpu.obj D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\face_areas_normals\face_areas_normals_cpu.obj D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\gather_scatter\gather_scatter_cpu.obj
。。。
。。。
D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\sample_pdf\sample_pdf.obj /OUT:build\lib.win-amd64-3.8\pytorch3d_C.cp38-win_amd64.pyd /IMPLIB:D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc_C.cp38-win_amd64.lib
LINK : fatal error LNK1181: can not open flie : “D:\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\build\temp.win-amd64-3.8\Release\PythonProject\pythonProject\py_3d\pytorch3d-0.6.0\pytorch3d\csrc\iou_box3d\iou_box3d_cpu.obj”
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe' failed with exit status 1181
The text was updated successfully, but these errors were encountered: