Skip to content

Add Python packages in I Simpa

nicolas-f edited this page Jun 14, 2024 · 3 revisions

Python is embedded into the I-Simpa windows build.

You can install additionnal package into I-Simpa by running the following commands.

We will use cmd.exe, the windows command line program. If I-Simpa is installed on a read-only folder (ex: C:\Program Files ) then you will need administrator privileges before running cmd.exe.

This installation method require a working internet connection.

An example of how to install h5py library.

cd "C:\Program Files\I-Simpa\"
python.exe -m ensurepip
Scripts\pip.exe install h5py

The library is now installed and available for the next start of I-Simpa.

It can be done from inside the interpreter too:

https://inventwithpython.com/blog/2022/08/25/how-to-run-pip-from-the-python-interactive-shell/

Clone this wiki locally