You need to sign in or sign up before continuing.
提交 67317fb2 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!670 add ease-installation FAQ

Merge pull request !670 from liubuyu/master
...@@ -33,6 +33,18 @@ A: Please append parameter `--trusted-host=ms-release.obs.cn-north-4.myhuaweiclo ...@@ -33,6 +33,18 @@ A: Please append parameter `--trusted-host=ms-release.obs.cn-north-4.myhuaweiclo
<br/> <br/>
Q:What should I do when error `ProxyError(Cannot connect to proxy)` prompts during pip install?
A:It is generally a proxy configuration problem, you can using `export http_proxy={your_proxy}` on Ubuntu environment, and using `set http_proxy={your_proxy}` in cmd on Windows environment to config your proxy.
<br/>
Q:Some frequently-used environment settings need to be reset in the newly started terminal window, which is easy to be forgotten, What should I do?
A:You can write the frequently-used environment settings to `~/.bash_profile` or `~/.bashrc` so that the settings can take effect immediately when you start a new terminal window.
<br/>
Q: What should I do when error prompts during pip install? Q: What should I do when error prompts during pip install?
A: Please execute `pip -V` to check if pip is linked to Python3.7+. If not, we recommend you A: Please execute `pip -V` to check if pip is linked to Python3.7+. If not, we recommend you
......
...@@ -30,6 +30,18 @@ A:MindSpore开发过程中用到了Python3.7+的新特性,因此建议您通 ...@@ -30,6 +30,18 @@ A:MindSpore开发过程中用到了Python3.7+的新特性,因此建议您通
<br/> <br/>
Q:使用pip安装时报错`ProxyError(Cannot connect to proxy)`,应该怎么办?
A:此问题一般是代理配置问题,Ubuntu环境下可通过`export http_proxy={your_proxy}`设置代理;Windows环境可以在cmd中通过`set http_proxy={your_proxy}`进行代理设置。
<br/>
Q: 一些常用的环境变量设置,在新启动的终端窗口中需要重新设置,容易忘记应该怎么办?
A: 常用的环境变量设置写入到`~/.bash_profile``~/.bashrc`中,可让环境变量设置在新启动的终端窗口中立即生效。
<br/>
Q:使用pip安装时提示错误,应该怎么办? Q:使用pip安装时提示错误,应该怎么办?
A:请执行`pip -V`查看是否绑定了Python3.7+。如果绑定的版本不对,建议使用`python3.7 -m pip install`代替`pip install`命令。 A:请执行`pip -V`查看是否绑定了Python3.7+。如果绑定的版本不对,建议使用`python3.7 -m pip install`代替`pip install`命令。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册