Menu

Installing the mia-python module

From source

You can download the latest pymia distribution from the files section. In order to install the package you obviouls require a working MIA installation, Python >= 2.7 (versions 2 and 3 are supported) , and numpy. With these prerequisites, and the pymia tarball pymia-x.y.z.tar.gz installing the module is simply done by doing

tar -zxf pymia-x.y.z.tar.gz
cd pymia-x.y.z
python setup.py build 
python setup.py install

Depending on your installation, you will have to run install with root permissions.

As Debian package

Currently, the package is under review by the Debian-med team. to build packages preliminary you can get the package source by using git and compiling the packages by running

git clone git://anonscm.debian.org/debian-med/pymia.git
cd pymia
git-buildpackage -uc -us -b

For this to succeed you will have to setup the Debian package development environment.
This section will be updated once the package has been accepted into Debian

As Ubuntu package

pymia is available from the same PPA like MIA. Please follow the instructions given there in order to install the packages corresponding latest version of pymia.
Eventually, this PPA will become obsolete, because the package may be picked up automatically by Ubuntu from the Debian repositories.


Related

Wiki: MIA and Python

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.