You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When installing MinkowskiEngine locally, I encountered the following issues:
After executing this command: python setup.py install --blas_include_dirs=${CONDA_PREFIX}/include --blas=openblas
Here is the error message encountered:
(gaussian_splatting) (base) gdut403@gdut403-X299-WU8:~/HK/semantic-gaussians-main/MinkowskiEngine$ python setup.py install --blas_include_dirs=${CONDA_PREFIX}/include --blas=openblas
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda-11.8'
WARNING: Skipping MinkowskiEngine as it is not installed.
setup.py:130: UserWarning: torch.cuda.is_available() is False. MinkowskiEngine will compile with CPU_ONLY. Please use `--force_cuda` to compile with CUDA.
"torch.cuda.is_available() is False. MinkowskiEngine will compile with CPU_ONLY. Please use `--force_cuda` to compile with CUDA."
--------------------------------
| WARNING: CPU_ONLY build set |
--------------------------------
Using BLAS=openblas
Using the default compiler
running install
/home/gdut403/anaconda3/envs/gaussian_splatting/lib/python3.7/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` directly.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
********************************************************************************
!!
self.initialize_options()
/home/gdut403/anaconda3/envs/gaussian_splatting/lib/python3.7/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!
********************************************************************************
Please avoid running ``setup.py`` and ``easy_install``.
Instead, use pypa/build, pypa/installer or other
standards-based tools.
See https://github.com/pypa/setuptools/issues/917 for details.
********************************************************************************
!!
self.initialize_options()
running bdist_egg
running egg_info
writing MinkowskiEngine.egg-info/PKG-INFO
writing dependency_links to MinkowskiEngine.egg-info/dependency_links.txt
writing requirements to MinkowskiEngine.egg-info/requires.txt
writing top-level names to MinkowskiEngine.egg-info/top_level.txt
reading manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'MinkowskiEngine.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib.linux-x86_64-cpython-37
creating build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCoordinateManager.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/sparse_matrix_functions.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/diagnostics.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensorField.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiKernelGenerator.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPooling.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNetwork.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNonlinearity.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiUnion.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiTensor.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiFunctional.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/__init__.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiChannelwiseConvolution.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiConvolution.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiNormalization.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiCommon.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiInterpolation.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiSparseTensor.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiBroadcast.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiPruning.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
copying ./MinkowskiEngine/MinkowskiOps.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine
creating build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/quantization.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/collation.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/init.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/__init__.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/coords.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/gradcheck.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
copying ./MinkowskiEngine/utils/summary.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/utils
creating build/lib.linux-x86_64-cpython-37/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/senet_block.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/__init__.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/modules
copying ./MinkowskiEngine/modules/resnet_block.py -> build/lib.linux-x86_64-cpython-37/MinkowskiEngine/modules
running build_ext
building 'MinkowskiEngineBackend._C' extension
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/home
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/home/gdut403
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/home/gdut403/HK
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/home/gdut403/HK/semantic-gaussians-main
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/src
creating /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/pybind
/home/gdut403/anaconda3/envs/gaussian_splatting/lib/python3.7/site-packages/torch/utils/cpp_extension.py:330: UserWarning:
!! WARNING !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Your compiler (c++) is not compatible with the compiler Pytorch was
built with for this platform, which is g++ on linux. Please
use g++ to to compile your extension. Alternatively, you may
compile PyTorch from source using c++, and then you can also use
c++ to compile your extension.
See https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md for help
with compiling PyTorch from source.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! WARNING !!
platform=sys.platform))
Emitting ninja build file /home/gdut403/HK/semantic-gaussians-main/MinkowskiEngine/build/temp.linux-x86_64-cpython-37/build.ninja...
Compiling objects...
Omitted some part:
File "/home/gdut403/anaconda3/envs/gaussian_splatting/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 600, in unix_wrap_ninja_compile
with_cuda=with_cuda)
File "/home/gdut403/anaconda3/envs/gaussian_splatting/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1497, in _write_ninja_file_and_compile_objects
error_prefix='Error compiling objects for extension')
File "/home/gdut403/anaconda3/envs/gaussian_splatting/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1829, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension
It seems like the installation is not successful.I hope you can provide assistance.
The text was updated successfully, but these errors were encountered:
Dear author:
When installing MinkowskiEngine locally, I encountered the following issues:
After executing this command:
python setup.py install --blas_include_dirs=${CONDA_PREFIX}/include --blas=openblas
Here is the error message encountered:
Omitted some part:
It seems like the installation is not successful.I hope you can provide assistance.
The text was updated successfully, but these errors were encountered: