提交 a1b0611c 编写于 作者: E ester.zhou

update docs

Signed-off-by: Nester.zhou <ester.zhou@huawei.com>
上级 0c406b60
...@@ -56,15 +56,15 @@ ...@@ -56,15 +56,15 @@
1. Check whether the network cable is properly connected. 1. Check whether the network cable is properly connected.
2. Click Windows Firewall. 2. Click **Windows Firewall**.
**Figure 6** Network and firewall settings **Figure 6** Network and firewall settings
![en-us_image_0000001226634732](figures/en-us_image_0000001226634732.png) ![en-us_image_0000001226634732](figures/en-us_image_0000001226634732.png)
3. Click **Firewall & network protection**, and on the displayed page, click **Allow applications to communicate through Windows Firewall**. 3. Click **Firewall & network protection**, and on the displayed page, click **Allow an app through the firewall**.
**Figure 7** Firewall and network protection **Figure 7** Firewall & network protection
![en-us_image_0000001271354749](figures/en-us_image_0000001271354749.png) ![en-us_image_0000001271354749](figures/en-us_image_0000001271354749.png)
......
...@@ -15,20 +15,20 @@ ...@@ -15,20 +15,20 @@
Reinstall python3-apt. Reinstall python3-apt.
``` ```
sudo apt-get remove python3-apt sudo apt-get remove python3-apt
sudo apt-get install python3-apt sudo apt-get install python3-apt
``` ```
## What should I do when the message indicating Python cannot be found is displayed during compilation and building? ## What should I do if the message indicating Python cannot be found is displayed during compilation and building?
- **Symptom** - **Symptom**
The following error occurs during compilation and building: The following error occurs during compilation and building:
``` ```
-bash: /usr/bin/python: No such file or directory -bash: /usr/bin/python: No such file or directory
``` ```
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
Run the following command to install Python. The following uses Python 3.8 as an example. Run the following command to install Python. The following uses Python 3.8 as an example.
``` ```
sudo apt-get install python3.8 sudo apt-get install python3.8
``` ```
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
Run the following commands to add a soft link: Run the following commands to add a soft link:
``` ```
# cd /usr/bin/ # cd /usr/bin/
# which python3 # which python3
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
![en-us_image_0000001227114636](figures/en-us_image_0000001227114636.png) ![en-us_image_0000001227114636](figures/en-us_image_0000001227114636.png)
## What should I do when the message indicating Python 3 cannot be found is displayed during compilation and building? ## What should I do if the message indicating Python 3 cannot be found is displayed during compilation and building?
- **Symptom** - **Symptom**
...@@ -83,19 +83,19 @@ ...@@ -83,19 +83,19 @@
Run the following command to install Python 3: Run the following command to install Python 3:
``` ```
sudo apt-get install python3.8 sudo apt-get install python3.8
``` ```
## What should I do when the message configure: error: no acceptable C compiler found in $PATH is displayed during Python 3 installation? ## What should I do if the message "configure: error: no acceptable C compiler found in $PATH" is displayed during Python 3 installation?
- **Symptom** - **Symptom**
The following error occurs during Python 3 installation: The following error occurs during Python 3 installation:
``` ```
configure: error: no acceptable C compiler found in $PATH. See 'config.log' for more details configure: error: no acceptable C compiler found in $PATH. See 'config.log' for more details
``` ```
...@@ -110,13 +110,13 @@ ...@@ -110,13 +110,13 @@
2. After the installation, reinstall Python 3. 2. After the installation, reinstall Python 3.
## What should I do when the message -bash: make: command not found is displayed during Python 3 installation? ## What should I do if the message "-bash: make: command not found is displayed" during Python 3 installation?
- **Symptom** - **Symptom**
The following error occurs during Python 3 installation: The following error occurs during Python 3 installation:
``` ```
-bash: make: command not found -bash: make: command not found
``` ```
...@@ -131,13 +131,13 @@ ...@@ -131,13 +131,13 @@
2. After the installation, reinstall Python 3. 2. After the installation, reinstall Python 3.
## What should I do when the message No module named '_ctypes' is displayed during Python 3 installation? ## What should I do if the message "No module named '_ctypes'" is displayed during Python 3 installation?
- **Symptom** - **Symptom**
The following error occurs during Python 3 installation: The following error occurs during Python 3 installation:
``` ```
ModuleNotFoundError: No module named '_ctypes' ModuleNotFoundError: No module named '_ctypes'
``` ```
...@@ -152,13 +152,13 @@ ...@@ -152,13 +152,13 @@
2. After the installation, reinstall Python 3. 2. After the installation, reinstall Python 3.
## "No module named 'Crypto'" Displayed During the Build Process ## What should I do if the message "No module named 'Crypto'" is displayed during the build process?
- **Symptom** - **Symptom**
The following error occurs during compilation and building: The following error occurs during compilation and building:
``` ```
ModuleNotFoundError: No module named 'Crypto' ModuleNotFoundError: No module named 'Crypto'
``` ```
...@@ -182,13 +182,13 @@ ...@@ -182,13 +182,13 @@
After the preceding installation is complete, rebuild an environment. After the preceding installation is complete, rebuild an environment.
## What should I do when the message No module named 'ecdsa' is displayed during compilation and building? (Hi3861) ## What should I do if the message "No module named 'ecdsa'" is displayed during the build process? (Hi3861)
- **Symptom** - **Symptom**
The following error occurs during compilation and building: The following error occurs during compilation and building:
``` ```
ModuleNotFoundError: No module named 'ecdsa' ModuleNotFoundError: No module named 'ecdsa'
``` ```
...@@ -212,13 +212,13 @@ ...@@ -212,13 +212,13 @@
After the preceding installation is complete, rebuild an environment. After the preceding installation is complete, rebuild an environment.
## What should I do when the message Could not find a version that satisfies the requirement six>=1.9.0 is displayed during compilation and building? (Hi3861) ## What should I do if the message "Could not find a version that satisfies the requirement six>=1.9.0" is displayed during the build process? (Hi3861)
- **Symptom** - **Symptom**
The following error occurs during compilation and building: The following error occurs during compilation and building:
``` ```
Could not find a version that satisfies the requirement six>=1.9.0 Could not find a version that satisfies the requirement six>=1.9.0
``` ```
...@@ -242,13 +242,13 @@ ...@@ -242,13 +242,13 @@
After the preceding installation is complete, rebuild an environment. After the preceding installation is complete, rebuild an environment.
## What should I do when the message cannot find -lgcc is displayed during compilation and building? (Hi3861) ## What should I do if the message "cannot find -lgcc" is displayed during the build process? (Hi3861)
- **Symptom** - **Symptom**
The following error occurs during compilation and building: The following error occurs during compilation and building:
``` ```
riscv32-unknown-elf-ld: cannot find -lgcc riscv32-unknown-elf-ld: cannot find -lgcc
``` ```
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
The PATH is incorrectly written by **gcc_riscv32**. There is an extra slash (/). The PATH is incorrectly written by **gcc_riscv32**. There is an extra slash (/).
``` ```
~/gcc_riscv32/bin/:/data/toolchain/ ~/gcc_riscv32/bin/:/data/toolchain/
``` ```
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
Modify the PATH by deleting the slash (/). Modify the PATH by deleting the slash (/).
``` ```
~/gcc_riscv32/bin:/data/toolchain/ ~/gcc_riscv32/bin:/data/toolchain/
``` ```
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
The following error occurs during **kconfiglib** installation: The following error occurs during **kconfiglib** installation:
``` ```
subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1. subprocess.CalledProcessError: Command '('lsb_release', '-a')' returned non-zero exit status 1.
``` ```
......
...@@ -56,15 +56,15 @@ ...@@ -56,15 +56,15 @@
1. Check whether the network cable is properly connected. 1. Check whether the network cable is properly connected.
2. Click Windows Firewall. 2. Click **Windows Firewall**.
**Figure 6** Network and firewall settings **Figure 6** Network and firewall settings
![en-us_image_0000001226634732](figures/en-us_image_0000001226634732.png) ![en-us_image_0000001226634732](figures/en-us_image_0000001226634732.png)
3. Click **Firewall & network protection**, and on the displayed page, click **Allow applications to communicate through Windows Firewall**. 3. Click **Firewall & network protection**, and on the displayed page, click **Allow an app through the firewall**.
**Figure 7** Firewall and network protection **Figure 7** Firewall & network protection
![en-us_image_0000001271202457](figures/en-us_image_0000001271202457.png) ![en-us_image_0000001271202457](figures/en-us_image_0000001271202457.png)
......
...@@ -15,20 +15,20 @@ ...@@ -15,20 +15,20 @@
Reinstall python3-apt. Reinstall python3-apt.
``` ```
sudo apt-get remove python3-apt sudo apt-get remove python3-apt
sudo apt-get install python3-apt sudo apt-get install python3-apt
``` ```
## What should I do when the message indicating Python cannot be found is displayed during compilation and building? ## What should I do if the message indicating Python cannot be found is displayed during compilation and building?
- **Symptom** - **Symptom**
The following error occurs during compilation and building: The following error occurs during compilation and building:
``` ```
-bash: /usr/bin/python: No such file or directory -bash: /usr/bin/python: No such file or directory
``` ```
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
Run the following command to install Python. The following uses Python 3.8 as an example. Run the following command to install Python. The following uses Python 3.8 as an example.
``` ```
sudo apt-get install python3.8 sudo apt-get install python3.8
``` ```
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
Run the following commands to add a soft link: Run the following commands to add a soft link:
``` ```
# cd /usr/bin/ # cd /usr/bin/
# which python3 # which python3
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
![en-us_image_0000001271562453](figures/en-us_image_0000001271562453.png) ![en-us_image_0000001271562453](figures/en-us_image_0000001271562453.png)
## What should I do when the message indicating Python 3 cannot be found is displayed during compilation and building? ## What should I do if the message indicating Python 3 cannot be found is displayed during the build process?
- **Symptom** - **Symptom**
...@@ -83,19 +83,19 @@ ...@@ -83,19 +83,19 @@
Run the following command to install Python 3: Run the following command to install Python 3:
``` ```
sudo apt-get install python3.8 sudo apt-get install python3.8
``` ```
## What should I do when the message configure: error: no acceptable C compiler found in $PATH is displayed during Python 3 installation? ## What should I do if the message "configure: error: no acceptable C compiler found in $PATH" is displayed during Python 3 installation?
- **Symptom** - **Symptom**
The following error occurs during Python 3 installation: The following error occurs during Python 3 installation:
``` ```
configure: error: no acceptable C compiler found in $PATH. See 'config.log' for more details configure: error: no acceptable C compiler found in $PATH. See 'config.log' for more details
``` ```
...@@ -110,13 +110,13 @@ ...@@ -110,13 +110,13 @@
2. After the installation, reinstall Python 3. 2. After the installation, reinstall Python 3.
## What should I do when the message -bash: make: command not found is displayed during Python 3 installation? ## What should I do if the message "-bash: make: command not found" is displayed during Python 3 installation?
- **Symptom** - **Symptom**
The following error occurs during Python 3 installation: The following error occurs during Python 3 installation:
``` ```
-bash: make: command not found -bash: make: command not found
``` ```
...@@ -131,13 +131,13 @@ ...@@ -131,13 +131,13 @@
2. After the installation, reinstall Python 3. 2. After the installation, reinstall Python 3.
## What should I do when the message No module named '_ctypes' is displayed during Python 3 installation? ## What should I do if the message "No module named '_ctypes'" is displayed during Python 3 installation?
- **Symptom** - **Symptom**
The following error occurs during Python 3 installation: The following error occurs during Python 3 installation:
``` ```
ModuleNotFoundError: No module named '_ctypes' ModuleNotFoundError: No module named '_ctypes'
``` ```
...@@ -152,13 +152,13 @@ ...@@ -152,13 +152,13 @@
2. After the installation, reinstall Python 3. 2. After the installation, reinstall Python 3.
## "No module named 'Crypto'" Displayed During the Build Process ## What should I do if the message "No module named 'Crypto'" is displayed during the build process?
- **Symptom** - **Symptom**
The following error occurs during compilation and building: The following error occurs during compilation and building:
``` ```
ModuleNotFoundError: No module named 'Crypto' ModuleNotFoundError: No module named 'Crypto'
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册