From: Paul de B. <pau...@gm...> - 2011-11-14 10:13:31
|
Hey, I work with Mac OSX 10.7.2 I have a probleem. From the IDLE this little program works fine: #!/usr/bin/python import numpy import matplotlib print "Content-Type: text/plain\n" print matplotlib.__version__ The output is: Content-Type: text/plain 1.1.0 Starting this program from MAMP gives me: Internal Server Error First I change the program into: #!/usr/bin/python import numpy import matplotlib print "Content-Type: text/plain\n" print 'No error' But starting this program from MAMP also gives me: Internal Server Error Now I change my program into: #!/usr/bin/python import numpy ##import matplotlib print "Content-Type: text/plain\n" print 'No error' Now starting this program from MAMP gives me: No error So the import of mapplotlib causes this troubles. I don't have these problems with the import of numpy. Can someone help me with this problem? |