Conda installation

Conda is a popular open-source framework for distributing Python applications.

It's an alternative to PyPI and pip which addresses some shortcomings in these models by adding the ability to ship pre-compiled code for native modules and to ship binary dependencies (like OpenCV, VTK and FFMPEG). Although this is more work for the maintainers of projects (i.e. us!), if we put the work in, we can ship code that simply unpacks and works on Windows, macOS, and Linux.

Given that the Menpo project is designed to provide a suite of tools to solve complex problems, it therefore has a complex set of dependencies. In order to make things as simple as possible for Python developers (new and experienced), we strongly advocate the use of Conda.

Once you have conda installed, getting the latest stable version of menpo is a one line command:

> conda install -c menpo menpoproject

Therefore, our installation instructions focus on getting Conda installed on each of the platforms we support.

Installation Instructions

We provide detailed guides for installing the Menpo Project. Choose an operating system:

Expert Quick Start

If you are an advanced user who is comfortable in the terminal, use the following quick start guide:

Setting Up A Development Environment

If you want to develop within the Menpo Project, please read the following guide:


Upgrading

Assuming you have followed the installation instructions above, you may need to upgrade your version of the Menpo Project packages to the latest. You can check if you have the latest version by running the following commands within a Python interpreter:

>>> import menpo
>>> print(menpo.__version__)

Similarly for menpofit, menpodetect, menpowidgets, menpo3d and menpocli. If you need to upgrade, you can do this using conda (make sure the menpo environment is activated).

macOS/Linux

To upgrade all packages (menpofit, menpodetect, menpowidgets, menpocli) do:

$ source activate menpo
(menpo) $ conda update -c menpo menpoproject

To explicitly upgrade a specific package do:

$ source activate menpo
(menpo) $ conda update -c menpo menpo
(menpo) $ conda update -c menpo menpofit
(menpo) $ conda update -c menpo menpodetect
(menpo) $ conda update -c menpo menpowidgets
(menpo) $ conda update -c menpo menpocli
(menpo) $ conda update -c menpo menpo3d
Windows

To upgrade all packages (menpofit, menpodetect, menpowidgets, menpocli) do:

C:\>activate menpo
[menpo] C:\>conda update -c menpo menpoproject

To explicitly upgrade a specific package do:

C:\>activate menpo
[menpo] C:\>conda update -c menpo menpo
[menpo] C:\>conda update -c menpo menpofit
[menpo] C:\>conda update -c menpo menpodetect
[menpo] C:\>conda update -c menpo menpowidgets
[menpo] C:\>conda update -c menpo menpocli
[menpo] C:\>conda update -c menpo menpo3d

results matching ""

    No results matching ""