Skip to content
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

python setup.py install gives us an error #87

Open
CHenYYff opened this issue Nov 15, 2022 · 0 comments
Open

python setup.py install gives us an error #87

CHenYYff opened this issue Nov 15, 2022 · 0 comments

Comments

@CHenYYff
Copy link

Building wheel torch-1.10.0a0+git302ee7b
Traceback (most recent call last):
File "setup.py", line 309, in
cmake = CMake()
File "/root/autodl-tmp/ADOP/External/pytorch/tools/setup_helpers/cmake.py", line 102, in init
self._cmake_command = CMake._get_cmake_command()
File "/root/autodl-tmp/ADOP/External/pytorch/tools/setup_helpers/cmake.py", line 126, in _get_cmake_command
elif cmake is not None and CMake._get_version(cmake) >= distutils.version.LooseVersion("3.10.0"):
File "/root/autodl-tmp/ADOP/External/pytorch/tools/setup_helpers/cmake.py", line 137, in _get_version
return distutils.version.LooseVersion(line.strip().split(' ')[2])
AttributeError: module 'distutils' has no attribute 'version'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant