pip安装MindSpore 1.7.1版本出错
收藏回复举报
pip安装MindSpore 1.7.1版本出错
t('forum.solved') 已解决
新人帖
发表于2024-03-06 11:53:32
0 查看

使用以下指令安装

pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/1.7.1/MindSpore/cpu/x86_64/mindspore-1.7.1-cp37-cp37m-win_amd64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple

报错

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.

我要发帖子