-
Notifications
You must be signed in to change notification settings - Fork 369
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
No module named 'distutils.msvccompiler' #605
Comments
Have you resolved it? I encountered the same issue! |
No, still working on it. |
Hey, hello. You can try using Docker to install or downgrade the Python version to 3.7. Both methods are effective for me. (* ̄︶ ̄) |
Thanks, I'll try it! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
(GGSD) xzy@xzy-HP-Z4-G4-Workstation:/data1/jy/code/MinkowskiEngine$ python setup.py install --install-option="--force_cuda" --install-option="--blas=openblas"
WARNING: Skipping MinkowskiEngine as it is not installed.
| CUDA compilation set |
Traceback (most recent call last):
File "setup.py", line 201, in
import numpy.distutils.system_info as sysinfo
File "/home/xzy/anaconda3/envs/GGSD/lib/python3.8/site-packages/numpy/distutils/system_info.py", line 196, in
from numpy.distutils.command.config import config as cmd_config
File "/home/xzy/anaconda3/envs/GGSD/lib/python3.8/site-packages/numpy/distutils/command/config.py", line 19, in
from numpy.distutils.mingw32ccompiler import generate_manifest
File "/home/xzy/anaconda3/envs/GGSD/lib/python3.8/site-packages/numpy/distutils/mingw32ccompiler.py", line 28, in
from distutils.msvccompiler import get_build_version as get_build_msvc_version
ModuleNotFoundError: No module named 'distutils.msvccompiler'
To Reproduce
Whether I install Minkowski Engine through pip or locally, the above bugs will occur.
Desktop (please complete the following information):
Additional context
My attempt:
I tried to use Setup tools to bypass the issue of missing distutls, but it seems that there is still a problem.
(GGSD) xzy@xzy-HP-Z4-G4-Workstation :/data1/jy/code/MinkowskiEngine$ python -c "import distutils; print(distutils.__ file__)"
/home/xzy/anaconda3/envs/GGSD/lib/python3.8/site-packages/setuptools/_distutils/init.py
(GGSD) xzy@xzy-HP-Z4-G4-Workstation :/data1/jy/code/MinkowskiEngine$ pip list| grep setuptools
setuptools 75.1.0
WARNING: There was an error checking the latest version of pip.
(GGSD) xzy@xzy-HP-Z4-G4-Workstation :/data1/jy/code/MinkowskiEngine$ pip list| grep distutils
WARNING: There was an error checking the latest version of pip.
The text was updated successfully, but these errors were encountered: