TorchStudio / torchstudio

IDE for PyTorch and its ecosystem
https://torchstudio.ai
MIT License
383 stars 27 forks source link

Error during installation with CUDA "failed to parse CPython sys.version: '3.12.1" #62

Closed zall-e closed 7 months ago

zall-e commented 7 months ago

Error during installation with CUDA

error install torchstudio with CUDA

message error: Checking the latest supported CUDA version... Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/dev/TorchStudio/torchstudio/pythoninstall.py", line 33, in import requests File "/home/ai/TorchStudio/python/lib/python3.12/site-packages/requests/init.py", line 43, in import urllib3 File "/home/ai/TorchStudio/python/lib/python3.12/site-packages/urllib3/init.py", line 14, in from ._base_connection import _TYPE_BODY File "/home/ai/TorchStudio/python/lib/python3.12/site-packages/urllib3/_base_connection.py", line 5, in from .util.connection import _TYPE_SOCKET_OPTIONS File "/home/ai/TorchStudio/python/lib/python3.12/site-packages/urllib3/util/init.py", line 5, in from .request import SKIP_HEADER, SKIPPABLE_HEADERS, make_headers File "/home/ai/TorchStudio/python/lib/python3.12/site-packages/urllib3/util/request.py", line 32, in import zstandard as _unused_module_zstd # type: ignore[import] # noqa: F401 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ai/TorchStudio/python/lib/python3.12/site-packages/zstandard/init.py", line 38, in if platform.python_implementation() in ("CPython",): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ai/TorchStudio/python/lib/python3.12/platform.py", line 1153, in python_implementation return _sys_version()[0] ^^^^^^^^^^^^^^ File "/home/ai/TorchStudio/python/lib/python3.12/platform.py", line 1113, in _sys_version raise ValueError( ValueError: failed to parse CPython sys.version: '3.12.1 | packaged by Anaconda, Inc. | (main, Jan 19 2024, 15:51:05) [GCC 11.2.0]'

Error while installing packages

radsulcorp commented 7 months ago

This is the same issue as issue #60

divideconcept commented 7 months ago

@zaliir @radsulcorp this should now be fixed in 0.9.17: https://github.com/TorchStudio/torchstudio/releases/tag/0.9.17