diff --git a/resource/faq/FAQ_en.md b/resource/faq/FAQ_en.md index 4410dce19fae20e45b7b409c5a8514ac1e56bdc4..6107854e283ae8cefc99ddef7474badeb34e11a1 100644 --- a/resource/faq/FAQ_en.md +++ b/resource/faq/FAQ_en.md @@ -33,6 +33,18 @@ A: Please append parameter `--trusted-host=ms-release.obs.cn-north-4.myhuaweiclo
+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. + +
+ +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. + +
+ 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 diff --git a/resource/faq/FAQ_zh_cn.md b/resource/faq/FAQ_zh_cn.md index 3dde9b3708bac0acc76f4883d548dddc5988b46d..1d30aa73399e40714bb8a98fcb5fd87b79766972 100644 --- a/resource/faq/FAQ_zh_cn.md +++ b/resource/faq/FAQ_zh_cn.md @@ -30,6 +30,18 @@ A:MindSpore开发过程中用到了Python3.7+的新特性,因此建议您通
+Q:使用pip安装时报错`ProxyError(Cannot connect to proxy)`,应该怎么办? + +A:此问题一般是代理配置问题,Ubuntu环境下可通过`export http_proxy={your_proxy}`设置代理;Windows环境可以在cmd中通过`set http_proxy={your_proxy}`进行代理设置。 + +
+ +Q: 一些常用的环境变量设置,在新启动的终端窗口中需要重新设置,容易忘记应该怎么办? + +A: 常用的环境变量设置写入到`~/.bash_profile` 或 `~/.bashrc`中,可让环境变量设置在新启动的终端窗口中立即生效。 + +
+ Q:使用pip安装时提示错误,应该怎么办? A:请执行`pip -V`查看是否绑定了Python3.7+。如果绑定的版本不对,建议使用`python3.7 -m pip install`代替`pip install`命令。