diff --git a/docs/sphinx/source/content/Installation.rst b/docs/sphinx/source/content/Installation.rst index 70947aad..657ade66 100644 --- a/docs/sphinx/source/content/Installation.rst +++ b/docs/sphinx/source/content/Installation.rst @@ -30,8 +30,8 @@ First, make sure you have the same version of python installed on your computer .. code-block:: bash sudo add-apt-repository ppa:deadsnakes/ppa - sudo apt install libpython3.8 python3.8 python3-pip - python3.8 -m pip install numpy + sudo apt install libpython3.10 python3.10 python3-pip + python3.10 -m pip install numpy if you want to launch the runSofa: @@ -40,21 +40,21 @@ First, make sure you have the same version of python installed on your computer sudo apt install libopengl0 - .. tab:: Ubuntu + .. tab:: MacOS Run in a terminal: .. code-block:: bash - brew install python@3.8 - export PATH="/usr/local/opt/python@3.8/bin/:$PATH" + brew install python@3.10 + export PATH="/usr/local/opt/python@3.10/bin/:$PATH" BigSur only: .. code-block:: bash pip3 install --upgrade pip - python3.8 -m pip install numpy + python3.10 -m pip install numpy Catalina only: @@ -65,7 +65,7 @@ First, make sure you have the same version of python installed on your computer .. tab:: Windows - Download and install `Python 3.8 64bit `_ + Download and install `Python 3.10 64bit `_ ********************** @@ -116,7 +116,7 @@ Before running your simulations, you must make sure to define the following envi export SOFA_ROOT=/path/to/SOFA_install export PYTHONPATH=/path/to/SofaPython3/lib/python3/site-packages:$PYTHONPATH - export PATH="/usr/local/opt/python@3.8/bin/:$PATH" + export PATH="/usr/local/opt/python@3.10/bin/:$PATH" .. tab:: Windows