Skip to content

Commit ab30571

Browse files
authored
Update README.md
1 parent d316ce6 commit ab30571

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ To open a Terminal: Start > type "cmd" > press Enter
2020

2121
2. Install **python + pip**
2222
Open a Terminal and run `python -V`
23-
If the command fails or shows a version that is not in [3.7 ; 3.10], install one of these compatible versions:
23+
If the command shows a version that is in [3.7 ; 3.10], skip to step 3.
24+
Else, install one of these compatible versions:
2425
- [python 3.7 (amd64)](https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe)
2526
- [python 3.8 (amd64)](https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe)
2627
- [python 3.9 (amd64)](https://www.python.org/ftp/python/3.9.12/python-3.9.12-amd64.exe)
@@ -53,16 +54,17 @@ bin\runSofa.exe
5354
### Install the dependencies
5455

5556
1. Install **libopengl0**
56-
sudo apt install libopengl0
57+
`sudo apt install libopengl0`
5758

5859
2. Install **python + pip**
5960
Open a Terminal and run `python3 -V`
60-
If the command fails or shows a version that is not in [3.7 ; 3.10], search which compatible version is proposed by your package manager:
61+
If the command shows a version that is in [3.7 ; 3.9], skip to step 3.
62+
Else, search which compatible version is proposed by your package manager:
6163
```bash
6264
sudo apt update
6365
sudo apt info python3 | grep -i 'version: '
6466
```
65-
If the proposed version is in [3.7 ; 3.10] then install it
67+
If the proposed version is in [3.7 ; 3.9] then install it
6668
```bash
6769
sudo apt install python3-dev python3-distutils
6870
curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
@@ -100,7 +102,8 @@ export PYTHONPATH=plugins/SofaPython3/lib/python3/site-packages
100102

101103
1. Install **python + pip**
102104
Open a Terminal and run `python3 -V`
103-
If the command fails or shows a version that is not in [3.7 ; 3.10], search which compatible version is proposed by your package manager:
105+
If the command shows a version that is in [3.7 ; 3.10], skip to step 2.
106+
Else, search which compatible version is proposed by your package manager:
104107
```bash
105108
brew update
106109
brew info python

0 commit comments

Comments
 (0)