Installing Menpo using conda

256 views
Skip to first unread message

KolaB

unread,
Jun 24, 2019, 5:32:00 AM6/24/19
to Menpo Users
Hi,
I am trying to install Menpo using conda by following the instructions on https://www.menpo.org/installation/development.html in particular:

(menpo_dev) $ conda install -c menpo/channel/master menpo

However, there is a problem because of dependencies of two libraries. Conda returns the following:
Collecting package metadata: done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - menpo -> cyvlfeat[version='>=0.4.3,<0.5'] -> vlfeat=0.9
  - menpo -> ffmpeg[version='>=2.7,<3.0']

Current channels:

  - https://conda.anaconda.org/menpo/channel/master/linux-64
  - https://conda.anaconda.org/menpo/channel/master/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/free/linux-64
  - https://repo.anaconda.com/pkgs/free/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

Can anyone help?

Kola

filipav...@gmail.com

unread,
Oct 29, 2019, 6:04:11 AM10/29/19
to Menpo Users
Hello, 

I am having a similar problem did you manage to solve this?

Best
Filipa

Katelyn Mello

unread,
Feb 11, 2022, 9:41:29 PM2/11/22
to Menpo Users
Hi,
I am dealing with the same issues.

what solved my errors was using python=3.7:
1.create and activate conda virtual environment 
(conda create -n menpo-env python=3.7)
2. only installing menpo I was able using conda
(conda install -c conda-forge menpo)

BUT
when I tried installing other menpo packages I ran into conflicts again, so what I did instead was use (pip install)


so to sum up, if your only installing menpo then do:
(conda create -n menpo-env python=3.7)
(conda activate Menpo-env)
(conda install -c conda-forge menpo)

but if you want to install menpo, menpofit, menpodetect and menpo3d then do:
(conda create -n menpo-env python=3.7)
(conda activate Menpo-env)
(pip install menpo)
(pip install menpodetect)
(pip install menpofit)
(pip install menpo3d)


hope this helps:)

Mustafa Iqbal

unread,
Nov 28, 2022, 9:45:00 AM11/28/22
to Menpo Users
Hi all, I am also facing this issue. Even if I can get it to install (via conda or pip) I cannot import menpo in python (throws the error of no module named 'menpo'). I have tried resetting my conda installation and using base/environments. MacOS, Visual Studio Code, M1 Pro.
Reply all
Reply to author
Forward
0 new messages