Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions docs/sphinx/source/content/Installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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:

Expand All @@ -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 <https://www.python.org/ftp/python/3.8.10/python-3.8.10-amd64.exe>`_
Download and install `Python 3.10 64bit <https://www.python.org/ftp/python/3.10.10/python-3.10.10-amd64.exe>`_


**********************
Expand Down Expand Up @@ -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
Expand Down
Loading