WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting mindspore==1.7.1
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='ms-release.obs.cn-north-4.myhuaweicloud.com', port=443): Max retries exceeded with url: /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
WARNING: You are using pip version 20.2.4; however, version 24.0 is available.
You should consider upgrading via the 'D:\Programme\Anaconda\envs\MindSpore\python.exe -m pip install --upgrade pip' command.
使用以下指令安装
报错
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting mindspore==1.7.1 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='ms-release.obs.cn-north-4.myhuaweicloud.com', port=443): Max retries exceeded with url: /1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) WARNING: You are using pip version 20.2.4; however, version 24.0 is available. You should consider upgrading via the 'D:\Programme\Anaconda\envs\MindSpore\python.exe -m pip install --upgrade pip' command.