From de80518801ecd3610c3b51f48af9593775013d19 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 17 Sep 2025 15:39:13 +0200 Subject: [PATCH] Update Installation.rst According to discussion with @emmanuelHa --- docs/sphinx/source/content/Installation.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/source/content/Installation.rst b/docs/sphinx/source/content/Installation.rst index 7c995375..41d76b6a 100644 --- a/docs/sphinx/source/content/Installation.rst +++ b/docs/sphinx/source/content/Installation.rst @@ -130,8 +130,9 @@ Before running your simulations, you must make sure to define the following envi After that, all you need to do is open a Console (cmd.exe) and run: ``runSofa -lSofaPython3`` -⚠️ 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*. +⚠️ 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*. +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/ +`` To discover, how to use SOFA in any python3 interpreter, please refer to the associated `FirstSteps section `_