erikwijmans / Pointnet2_PyTorch

PyTorch implementation of Pointnet2/Pointnet++
The Unlicense
1.53k stars 347 forks source link

error: could not create 'pointnet2_utils\_ext.cp37-win_amd64.pyd': No such file or directory #176

Closed aghaphd closed 1 year ago

aghaphd commented 1 year ago

Hello, I'm facing the error below:

(PVN3D-pytorch) PS D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5> python setup.py build_ext --inplace running build_ext building 'pointnet2_utils._ext' extension Emitting ninja build file D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: no work to do. "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:C:\Users\666\anaconda3\envs\PVN3 D-pytorch\lib\site-packages\torch\lib "/LIBPATH:C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA\v11.7\lib\x64" /LIBPATH:C:\Users\666\anaconda3\envs\PVN3D-pytorch\libs /LIBPATH:C:\Users\666\anaconda3\envs\PVN3D-pytorch /LIBPAT H:C:\Users\666\anaconda3\envs\PVN3D-pytorch\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.6.1\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.22000.0\ucrt\x64" "/LIBPATH:C:\Program Files ( x86)\Windows Kits\10\lib\10.0.22000.0\um\x64" c10.lib torch.lib torch_cpu.lib torch_python.lib cudart.lib c10_cuda.lib torch_cuda_cu.lib torch_cuda_cpp.lib /EXPORT:PyInit__ext D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.wi n-amd64-cpython-37\Release./pvn3d/_ext-src/src\ball_query.obj D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\ball_query_gpu.obj D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\t emp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\bindings.obj D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\group_points.obj D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build \temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\group_points_gpu.obj D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\interpolate.obj D:\PVN3D-pytorch-1.5\PVN3D-pytorch- 1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\interpolate_gpu.obj D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\sampling.obj D:\PVN3D-pytorch-1.5\PVN3D-pyt orch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src\sampling_gpu.obj /OUT:build\lib.win-amd64-cpython-37\pointnet2_utils_ext.cp37-win_amd64.pyd /IMPLIB:D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src_ext.cp37-win_amd64.lib Creating library D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src_ext.cp37-win_amd64.lib and object D:\PVN3D-pytorch-1.5\PVN3D-pytorch-1.5\build\temp.win-amd64-cpython-37\Release./pvn3d/_ext-src/src_ext.cp37-win_amd64.exp Generating code Finished generating code copying build\lib.win-amd64-cpython-37\pointnet2_utils_ext.cp37-win_amd64.pyd -> pointnet2_utils error: could not create 'pointnet2_utils_ext.cp37-win_amd64.pyd': No such file or directory

How to solve it?