Giter Club home page Giter Club logo

Comments (2)

smacleod avatar smacleod commented on July 20, 2024

Full traceback:


RuntimeError Traceback (most recent call last)
in ()
1 import networkx as nx
2 from datetime import datetime
----> 3 import matplotlib.pyplot as plt
4 import numpy as np
5 import warnings

/Users/smacleod/src/pycon2016-tutorials/Network-Analysis-Made-Simple/network/lib/python3.5/site-packages/matplotlib/pyplot.py in ()
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/smacleod/src/pycon2016-tutorials/Network-Analysis-Made-Simple/network/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/smacleod/src/pycon2016-tutorials/Network-Analysis-Made-Simple/network/lib/python3.5/site-packages/matplotlib/backends/backend_macosx.py in ()
22
23 import matplotlib
---> 24 from matplotlib.backends import _macosx
25
26

RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends. If you are Working with Matplotlib in a virtual enviroment see 'Working with Matplotlib in Virtual environments' in the Matplotlib FAQ

from network-analysis-made-simple.

ericmjl avatar ericmjl commented on July 20, 2024

Thanks @smacleod! I will close this issue, but reference it in the README in case future participants encounter the same issue.

from network-analysis-made-simple.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.