Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

demo.py is not working for me

I try to run demo.py from installing libraries video and I get these errors..

RuntimeError: module compiled against API version 0xa but this versio
n of numpy is 0x9
Traceback (most recent call last):
File "demo.py", line 10, in <module>
from my_utils import *
File "/home/treehouse/workspace/my_utils.py", line 298, in <module>
import matplotlib.pyplot as plt
File "/usr/local/pyenv/versions/3.5.0/lib/python3.5/site-packages/m
atplotlib/pyplot.py", line 29, in <module>
import matplotlib.colorbar
File "/usr/local/pyenv/versions/3.5.0/lib/python3.5/site-packages/m
atplotlib/colorbar.py", line 32, in <module>
import matplotlib.artist as martist
File "/usr/local/pyenv/versions/3.5.0/lib/python3.5/site-packages/m
atplotlib/artist.py", line 14, in <module>
from .transforms import (Bbox, IdentityTransform, TransformedBbox
,
File "/usr/local/pyenv/versions/3.5.0/lib/python3.5/site-packages/m
atplotlib/transforms.py", line 39, in <module>
from matplotlib._path import (affine_transform, count_bboxes_over
lapping_bbox,
ImportError: numpy.core.multiarray failed to import