8000 Broken osx backend · Issue #44 · conda-forge/matplotlib-feedstock · GitHub
[go: up one dir, main page]

Skip to content
Broken osx backend #44
@beckermr

Description

@beckermr

I got this error on osx.

Python 3.5.2 | packaged by conda-forge | (default, Jul  7 2016, 12:53:03) 
Type "copyright", "credits" or "license" for more information.

IPython 5.0.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.
[TerminalIPythonApp] WARNING | Eventloop or matplotlib integration failed. Is matplotlib installed?
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/IPython/core/shellapp.py in <lambda>(key)
    196         shell = self.shell
    197         if self.pylab:
--> 198             enable = lambda key: shell.enable_pylab(key, import_all=self.pylab_import_all)
    199             key = self.pylab
    200         elif self.matplotlib:

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/IPython/core/interactiveshell.py in enable_pylab(self, gui, import_all, welcome_message)
   2972         from IPython.core.pylabtools import import_pylab
   2973 
-> 2974         gui, backend = self.enable_matplotlib(gui)
   2975 
   2976         # We want to prevent the loading of pylab to pollute the user's

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/IPython/core/interactiveshell.py in enable_matplotlib(self, gui)
   2933                 gui, backend = pt.find_gui_and_backend(self.pylab_gui_select)
   2934 
-> 2935         pt.activate_matplotlib(backend)
   2936         pt.configure_inline_support(self, backend)
   2937 

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/IPython/core/pylabtools.py in activate_matplotlib(backend)
    293     matplotlib.rcParams['backend'] = backend
    294 
--> 295     import matplotlib.pyplot
    296     matplotlib.pyplot.switch_backend(backend)
    297 

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/matplotlib/pyplot.py in <module>()
    112 
    113 from matplotlib.backends import pylab_setup
--> 114 _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
    115 
    116 _IP_REGISTERED = None

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/matplotlib/backends/__init__.py in pylab_setup()
     30     # imports. 0 means only perform absolute imports.
     31     backend_mod = __import__(backend_name,
---> 32                              globals(),locals(),[backend_name],0)
     33 
     34     # Things we pull in from all backends

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/matplotlib/backends/backend_macosx.py in <module>()
     22 
     23 import matplotlib
---> 24 from matplotlib.backends import _macosx
     25 
     26 

ImportError: cannot import name '_macosx'
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-ed9806ce3570> in <module>()
----> 1 import seaborn as sns

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/seaborn/__init__.py in <module>()
----> 1 from .rcmod import *
      2 from .utils import *
      3 from .palettes import *
      4 from .linearmodels import *
      5 from .categorical import *

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/seaborn/rcmod.py in <module>()
      6 import matplotlib as mpl
      7 
----> 8 from . import palettes
      9 
     10 mpl_ge_150 = LooseVersion(mpl.__version__) >= '1.5.0'

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/seaborn/palettes.py in <module>()
     10 from .external.six.moves import range
     11 
---> 12 from .utils import desaturate, set_hls_values, get_color_cycle
     13 from .xkcd_rgb import xkcd_rgb
     14 from .crayons import crayons

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/seaborn/utils.py in <module>()
     10 import matplotlib as mpl
     11 import matplotlib.colors as mplcol
---> 12 import matplotlib.pyplot as plt
     13 
     14 from distutils.version import LooseVersion

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/matplotlib/pyplot.py in <module>()
    112 
    113 from matplotlib.backends import pylab_setup
--> 114 _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
    115 
    116 _IP_REGISTERED = None

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/matplotlib/backends/__init__.py in pylab_setup()
     30     # imports. 0 means only perform absolute imports.
     31     backend_mod = __import__(backend_name,
---> 32                              globals(),locals(),[backend_name],0)
     33 
     34     # Things we pull in from all backends

/Users/mbecker/miniconda3/envs/civis/lib/python3.5/site-packages/matplotlib/backends/backend_macosx.py in <module>()
     22 
     23 import matplotlib
---> 24 from matplotlib.backends import _macosx
     25 
     26 

ImportError: cannot import name '_macosx'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0