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)
Stacey Warren - Expert brainly.com
Hey! We 've verified this expert answer for you, click below to unlock the details :)
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.
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
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.
Not the answer you are looking for? Search for more explanations.
in the beginning of the code it says this:
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
From my ps12.py:
import matplotlib.pyplot as pyplot
I had a stinker of a time with the namespace stuff on 10.5.8.