Populse_MIA installation from source¶
Without waiting for the latest version available on
PyPI, it is possible to install
the latest development version of populse_mia directly from the source
code. This procedure is mainly intended for users. In developer mode, the
local clone can simply be updated using the git pull command.
First, clone the repository:
cd /tmp
git clone https://github.com/populse/populse_mia.git
cd populse_mia
Then install the package according to your Python environment:
System Python (outside a virtual environment):
python3 -m pip install --user --force-reinstall .
Virtual environment:
Install the package without the
--useroption:python3 -m pip install --force-reinstall .
If the cloned repository is no longer needed, it can be removed:
cd ..
rm -rf populse_mia
The same procedure can be used for the other Python packages in the Populse project, including capsul, mia_processes, populse_db, soma-workflow, and soma-base.
Note
The --user option installs the package into the user’s
site-packages directory and should only be used when installing with
the system Python. It must not be used from within a virtual
environment, where packages are installed directly into the virtual
environment.