Importing & running matplotlib via CGI
问题 I'm having some dramas with matplotlib and CGI, despite a night spent searching for solutions. In brief, I'm running Python2.7 with matplotlib through a Bluhost server. I have want a simple script to display an image, but it's getting stuck on the import of matplotlib: import cgitb, os cgitb.enable() import matplotlib The traceback yields the following: : No module named matplotlib args = ('No module named matplotlib',) message = 'No module named matplotlib' Any clues? It seems most of the