4. Installation

Note to Packagers: Please don’t create Musica package (PiPY do the job)

Musica uses musica-toolkit on Pypi since the name is registered by an invalid empty project. see PEP 541 – Package Index Name Retention

4.1. On Windows

Firstly, you have to install the Anaconda Distribution so as to get a full featured Python 3 environment.

Then open the Anaconda Navigator and launch a console for your root environment.

You can now run pip to install Musica in your root environment using this command:

pip install musica-toolkit

4.2. On Linux

Firstly, you have to install Python 3 from your distribution.

Then you can install Musica using pip or from source. See supra.

4.3. On OSX

There are several ways to get Python on OSX:

You can install Musica using pip or from source. See supra.

4.4. Installation from PyPi Repository

Musica is available on the Python Packages PyPI repository at https://pypi.python.org/pypi/musica-toolkit

Run this command in the console to install the latest release:

pip install musica-toolkit

4.5. Install a more recent version from Github

If you want to install a version which is not yet released on Pypi, you can use one of theses commands to install the stable or devel branch:

pip install git+https://github.com/FabriceSalvaire/Musica

pip install git+https://github.com/FabriceSalvaire/Musica@devel

4.6. Installation from Source

The Musica source code is hosted at https://github.com/FabriceSalvaire/Musica

You have two solution to get the source code, the first one is to clone the repository, but if you are not familiar with Git then you can simply download an archive either from the Musica Pypi page (at the bottom) or the GitHub page (see clone or download button).

To clone the Git repository, run this command in a console:

git clone https://github.com/FabriceSalvaire/Musica.git

Then to build and install Musica run these commands:

python setup.py build
python setup.py install

4.7. Dependencies

Musica requires the following dependencies:

Also it is recommanded to have these Python modules:

To generate the documentation, you will need in addition: