Some errors on KPConv-PyTorch installation (Windows 10)
How to solve the same problem in windows? In addition, when I execute py setup py build_ ext -- inplace, the following prompt appears:
DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.core import setup, Extension
running build_ext
**INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils**
building 'grid_subsampling' extension
creating build
creating build\temp.win-amd64-3.10
creating build\temp.win-amd64-3.10\cpp_utils
creating build\temp.win-amd64-3.10\cpp_utils\cloud
creating build\temp.win-amd64-3.10\Release
creating build\temp.win-amd64-3.10\Release\grid_subsampling
INFO: E:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Program Files\Python310\lib\site-packages\numpy\core\include -IC:\Program Fi
les\Python310\include -IC:\Program Files\Python310\Include -IE:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\ATLMFC\include -IE:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\To
ols\MSVC\14.16.27023\include -IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um -IE:\Windows Kits\10\include\10.0.17763.0\ucrt -IE:\Windows Kits\10\include\10.0.17763.0\shared -IE:\Windows Kits\10\include\10.0.17763.0\um -
IE:\Windows Kits\10\include\10.0.17763.0\winrt -IE:\Windows Kits\10\include\10.0.17763.0\cppwinrt /EHsc /Tp../cpp_utils/cloud/cloud.cpp /Fobuild\temp.win-amd64-3.10\Release../cpp_utils/cloud/cloud.obj -std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0
**cl: command line warning D9002 :Ignore unknown options“-std=c++11”**
Finally, when execute train_ S3DIS. py, The following error will appear AttributeError: module 'cpp_wrappers.cpp_subsampling.grid_subsampling' has no attribute 'subsample'.
You could try to use an older version of python? Or search for how to solve numpy.distutils._msvccompiler issues on google.
I cannot help much with windows build, as I am only using Linux. If you can the most simple solution would be to use a Linux VM or dual boot to run the code
@Jaychouxq Have you solved this problem, can you communicate some of my QQ3454136228
I was able to able to execute this command by going to an older version of python (3.10).