stat157 / recent-quakes

Stat 157 Homework 2 due on Monday 2013-10-21 at 11:59pm
0 stars 20 forks source link

Group 4 issues #25

Open johnrisko opened 11 years ago

johnrisko commented 11 years ago

TclError: no display name and no $DISPLAY environment variable]

It also looks like you guys have have hard-coded some things.

chocoho commented 11 years ago

After rebooting my VM, I got the same error.

kqdtran commented 11 years ago

I think I might have found something related to this problem http://stackoverflow.com/questions/2801882/generating-a-png-with-matplotlib-when-display-is-undefined, though I haven't been able to reproduce the error. WIll continue looking into it :-)

chocoho commented 11 years ago

I added

import matplotlib matplotlib.use('Agg')

Right after the line, "impot Tkinter" and I still get the same error. :(