Jordan Dawe wrote: > Ok, I compiled matplotlib from source, and installed it into my home > directory. import matplotlib works fine, but from pylab import * returns > > >>> from pylab import * > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "/home/users/freedryk//lib/python/pylab.py", line 1, in <module> > from matplotlib.pylab import * > File "/home/users/freedryk//lib/python/matplotlib/pylab.py", line 208, > in <module> > from matplotlib import mpl # pulls in most modules > File "/home/users/freedryk//lib/python/matplotlib/mpl.py", line 4, in > <module> > from matplotlib import axes > File "/home/users/freedryk//lib/python/matplotlib/axes.py", line 18, > in <module> > from matplotlib import dates as mdates > File "/home/users/freedryk//lib/python/matplotlib/dates.py", line 91, > in <module> > from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \ > File "/home/users/freedryk//lib/python/dateutil/rrule.py", line 13, in > <module> > import thread > ImportError: No module named thread > > Any hints? I have my PYTHONPATH set to /home/users/freedryk/lib/python, > do I need another path in there?
Jordan, thread is a standard python module, part of the basic python distribution. I don't know why it is not being found. If you start python on a command line, can you import thread? Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users