代码拉取完成,页面将自动刷新
# Installing MindSpore in CPU by pip (Windows)
This document describes how to quickly install MindSpore by pip in a Windows system with a CPU environment.
python.exe
.Scripts
folder in the same directory of python.exe
is the pip file that comes with Python, add it to the system environment variable.pip install https://ms-release.obs.cn-north-4.myhuaweicloud.com/{version}/MindSpore/cpu/windows_x64/mindspore-{version}-cp37-cp37m-win_amd64.whl --trusted-host ms-release.obs.cn-north-4.myhuaweicloud.com -i https://pypi.tuna.tsinghua.edu.cn/simple
Of which,
{version}
denotes the version of MindSpore. For example, when you are downloading MindSpore 1.0.1, {version}
should be 1.0.1.python -c "import mindspore;print(mindspore.__version__)"
If the MindSpore version number is output, it means that MindSpore is installed successfully, and if the output is No module named 'mindspore'
, it means that the installation was not successful.
Using the following command if you need update MindSpore version:
pip install --upgrade mindspore
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。