A community for students.
Here's the question you clicked on:
 0 viewing
coolguy123
 2 years 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?
coolguy123
 2 years 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?

This Question is Closed

coolguy123
 2 years ago
Best ResponseYou've already chosen the best response.0I run the ps6._pkgtest module

bwCA
 2 years ago
Best ResponseYou've already chosen the best response.0not 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

coolguy123
 2 years ago
Best ResponseYou've already chosen the best response.0in the beginning of the code it says this: ##import matplotlib import numpy import pylab

coolguy123
 2 years ago
Best ResponseYou've already chosen the best response.0and 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.

kykaios
 2 years ago
Best ResponseYou've already chosen the best response.0Try 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.

coolguy123
 2 years ago
Best ResponseYou've already chosen the best response.0tried it, it still says "python quit unexpectedly" when i run it.

bwCA
 2 years ago
Best ResponseYou've already chosen the best response.0maybe try installing the Enthought distribution http://www.enthought.com/products/epd_free.php

rsmith6559
 2 years ago
Best ResponseYou've already chosen the best response.0From 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.
Ask your own question
Sign UpFind more explanations on OpenStudy
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.