Skip to content

Commit f3b7268

Browse files
authored
Update Installation.rst (#535)
According to discussion with @emmanuelha
1 parent cab2b92 commit f3b7268

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/sphinx/source/content/Installation.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,9 @@ Before running your simulations, you must make sure to define the following envi
130130
After that, all you need to do is open a Console (cmd.exe) and run: ``runSofa -lSofaPython3``
131131

132132

133-
⚠️ It must be noted that depending on the plugins you use, you might have to add the *site-packages/* paths associated to these plugins to your ``PYTHONPATH``.
134-
These are usually located in */path_to_plugin/lib/python3/site-packages*.
133+
⚠️ It must be noted that depending on the plugins you use, you might have to add the *site-packages/* paths associated to these plugins to your ``PYTHONPATH``. These are usually located in */path_to_plugin/lib/python3/site-packages*.
134+
Here is an example considering that you use the binary install of SOFA and you want to use both SofaPython3 and ImGui plugins in Python, then you could define ``export PYTHONPATH=$SOFA_ROOT/plugins/SofaPython3/lib/python3/site-packages/:$SOFA_ROOT/plugins/SofaImGui/lib/python3/site-packages/
135+
``
135136
136137
To discover, how to use SOFA in any python3 interpreter, please refer to the associated `FirstSteps section <https://sofapython3.readthedocs.io/en/latest/content/FirstSteps.html#with-the-python3-interpreter>`_
137138

0 commit comments

Comments
 (0)