Anaconda Runtime Error: Python is not installed as a framework?

前端 未结 10 1781
时光取名叫无心
时光取名叫无心 2020-12-24 05:53

I\'ve installed Anaconda with the pkg installer:

Python 2.7.10 |Continuum Analytics, Inc.| (default, May 28 2015, 17:04:42) 
[GCC 4.2.1 (Apple Inc. build 557         


        
10条回答
  •  被撕碎了的回忆
    2020-12-24 06:10

    From the matplotlib documentation;

    $ conda install python.app

    You need a framwork build of Python for matplotlib, but

    The default python provided in (Ana)conda is not a framework build. However, a framework build can easily be installed, both in the main environment and in conda envs: install python.app (conda install python.app) and use pythonw rather than python

    NB I had to add the conda-forge channel as python.app isn't included in the default miniconda channels

    $ conda config --add channels conda-forge

提交回复
热议问题