AssertionError: matplotlib-1.5.0-np110py27_0.tar.bz2 MatchSpec(u'py2cairo')

User 2829 | 12/15/2015, 10:36:52 AM

When I try to create conda environment

sudo conda create -n dato-env python=2.7 anaconda

I get

Fetching package metadata: ....
Solving package specifications: .An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:

Include the output of the command 'conda info' in your report.

Traceback (most recent call last):
  File "/usr/local/bin/conda", line 5, in <module>
  File "/usr/local/lib/python2.7/dist-packages/conda/cli/", line 194, in main
    args_func(args, p)
  File "/usr/local/lib/python2.7/dist-packages/conda/cli/", line 201, in args_func
    args.func(args, p)
  File "/usr/local/lib/python2.7/dist-packages/conda/cli/", line 49, in execute
    install.install(args, parser, 'create')
  File "/usr/local/lib/python2.7/dist-packages/conda/cli/", line 334, in install
  File "/usr/local/lib/python2.7/dist-packages/conda/", line 403, in install_actions
    config.track_features, minimal_hint=minimal_hint):
  File "/usr/local/lib/python2.7/dist-packages/conda/", line 747, in solve
  File "/usr/local/lib/python2.7/dist-packages/conda/", line 492, in solve2
    clauses = set(self.gen_clauses(v, dists, specs, features))
  File "/usr/local/lib/python2.7/dist-packages/conda/", line 350, in gen_clauses
    assert len(clause) > 1, '%s %r' % (fn1, ms)
AssertionError: matplotlib-1.5.0-np110py27_0.tar.bz2 MatchSpec(u'py2cairo')

I am using 64 bit Linux ubuntu


User 1190 | 12/15/2015, 7:21:04 PM

conda doesn't play well with sudo. The purpose of conda or virtualenv is to create an environment which is isolated from the system root environment.

User 2829 | 12/17/2015, 6:15:20 AM

But it gives same result without sudo too

User 1190 | 12/17/2015, 6:13:42 PM

This seems like a anaconda issue. Please contact for support.