Installing transmorph

transmorph can be installed either from source of from the python repository PyPi. PyPi version is commonly more stable, but may not contain latest features, while you can find the development version on GitHub.

Using a python environment is highly recommended (for instance pipenv) in order to easily handle dependencies and versions.

Install from source (dev version)

git clone https://github.com/Risitop/transmorph
pip install ./transmorph

Troubleshooting

Extra steps may be necessary to get transmorph properly working, especially on Windows systems. We would be grateful if you could to report any other installation error as a GitHub issue so that we can work on a fix.

  • numpy package is not installed

pip install numpy
  • Microsoft Visual C++ >=14.0 is required

Fix: Grab the C++ SDK from https://visualstudio.microsoft.com/visual-cpp-build-tools/, ensure C++ development tools are ticked (C++ development tools are automatically installed on Linux distributions).

  • PyMDE install error, no graph.c file

pip install cython

What’s next

Once the installation is completed, you can move on to Tutorials.