Got Homework?
Connect with other students for help. It's a free community.
Here's the question you clicked on:
 0 viewing
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?
 one year ago
 one year ago
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?
 one year ago
 one year ago

This Question is Closed

bwCABest ResponseYou've already chosen the best response.0
how are you 'running' it?
 one year ago

coolguy123Best ResponseYou've already chosen the best response.0
I run the ps6._pkgtest module
 one year ago

bwCABest ResponseYou've already chosen the best response.0
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#matplotlibcompiledfinebutnothingshowsupwheniuseit
 one year ago

coolguy123Best ResponseYou've already chosen the best response.0
in the beginning of the code it says this: ##import matplotlib import numpy import pylab
 one year ago

coolguy123Best ResponseYou've already chosen the best response.0
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.
 one year ago

kykaiosBest ResponseYou've already chosen the best response.0
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.
 one year ago

coolguy123Best ResponseYou've already chosen the best response.0
tried it, it still says "python quit unexpectedly" when i run it.
 one year ago

bwCABest ResponseYou've already chosen the best response.0
maybe try installing the Enthought distribution http://www.enthought.com/products/epd_free.php
 one year ago

rsmith6559Best ResponseYou've already chosen the best response.0
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.
 one year ago
See more questions >>>
Your question is ready. Sign up for free to start getting answers.
spraguer
(Moderator)
5
→ View Detailed Profile
is replying to Can someone tell me what button the professor is hitting...
23
 Teamwork 19 Teammate
 Problem Solving 19 Hero
 Engagement 19 Mad Hatter
 You have blocked this person.
 ✔ You're a fan Checking fan status...
Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.