Open FengJ130 opened 2 years ago
Have you solved this problem?
This problem is happened when i install the mmdetection3d package. But now i solved this problem with another way to install mm3d(one way in cuda 11.0 and another way in cuda 10.2[selected]). So i think i have installed this package, but maybe this is not helpful for you.
Thanks. I will try other ways to solve it.
I also mat this issue with torch1.13.1+cu11.7 and CUDA11.6 on Ubuntu 20.04 LTS with below tips, so I just tried to resinstall torch1.12.1+cu11.6, finally I was able to install it with this command: $ python setup.py install --force_cuda --blas=openblas
I did not exactly know why it worked, but hope to help you.
I also met with this problem when running 'python setup.py install --blas_include_dirs=${CONDA_PREFIX}/include --blas=openblas', and the following method resolved my issue.
The error was like: 'g++-9: error: {CPCM_root}/CPCM-master/env/MinkowskiEngine-0.5.4/build/temp.linux-x86_64-3.7/{CPCM_root}/CPCM-master/env/MinkowskiEngine-0.5.4/src/math_functions_cpu.o: file not found'.
The resolvent is: change the line “cmdclass={‘build_ext’: BuildExtension.with_options(use_ninja=True)}” in setup.py file into “cmdclass={‘build_ext’: BuildExtension.with_options(use_ninja=False)}”.
Maybe after this operation, you will have another path problem, e.g"error: command ‘:/usr/local/cuda/bin/nvcc’ failed: No such file or directory: ‘:/usr/local/cuda/bin/nvcc’. In that case, you have to delete the wrong path with ':' and ensure the CUDA_HOME is correct.
Here is the referred link: https://blog.csdn.net/xsy_0416/article/details/130151909
Describe the bug Hello, when I install the MinkowskiEngined, no matter use ##pip install## or ##python setup## , it has a same mistake, which is as below:
Desktop (please complete the following information):
Additional context Add any other context about the problem here.