Ace school

with brainly

  • Get help from millions of students
  • Learn from experts with step-by-step explanations
  • Level-up by helping others

A community for students.

Hi, I'm starting ps6 on 6.00 sc, and i tried to run the complementary software on python 2.7 on a macbook. I realized you need to download updated software of matplotlib and numpy, so i did, but the program the problem set says to run to check if the complementary software isn't working. It runs and no error shows up, but then it just shuts down. Can anyone help me?

MIT 6.00 Intro Computer Science (OCW)
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SIGN UP FOR FREE
how are you 'running' it?
I run the ps6._pkgtest module
not familiar with Mac's so I don't know what you meant when you say you 'run it'. In a Python shell can you import Matplotlib? Maybe have a look inside ps6._pkgtest and see what it is supposed to be doing and that might give you an idea of what is supposed to happen. http://matplotlib.org/faq/installing_faq.html#matplotlib-compiled-fine-but-nothing-shows-up-when-i-use-it

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

in the beginning of the code it says this: ##import matplotlib import numpy import pylab
and it says this in the ps : To test that you have successfully installed matplotlib and numpy, run the code provided in ps6_pkgtest.py, and upload the generated graph as ps6_pylabtest.pdf to your workspace by 11:59pm Lecture 13. If you have problems with installation, be sure to go to office hours for help. Hint: You can use the save button on the pylab figure to save as .pdf.
Try uncommenting the first line (remove the ##"s) in front of 'import matplotlib' and run it again. If you installed it correctly then it should work.
tried it, it still says "python quit unexpectedly" when i run it.
maybe try installing the Enthought distribution http://www.enthought.com/products/epd_free.php
From my ps12.py: import numpy import random import matplotlib.pyplot as pyplot I had a stinker of a time with the namespace stuff on 10.5.8.

Not the answer you are looking for?

Search for more explanations.

Ask your own question