Installation
Python version >=3.10
is required to install MOTrainer.
MOTrainer can be installed from PyPI:
or from the source:
Tips
We strongly recommend installing separately from your default Python envrionment. E.g. you can use enviroment manager e.g. mamba to create separate environment.
Troubleshooting
Error: Could not build wheels for h5py
MOTrainer
requires h5py
for installation. Usually your Python dependency manager should hamdle the installation of h5py
automatically. However, the following error may occur when installing h5py
:
On Ubuntu system, this can be resolved by installing the libhdf5-dev
package:
On MacOS, h5py can be installed via Homebrew
, Macports
, or Fink
. See the installation guide of h5py
According to the installation guide of h5py there is no Windows-specific package managers include h5py
. Therefore, it is recommended to install h5py
on Windows via Python Distributions such asconda
.