Hi Everyone !
This is urgent, I have to finish some plots by tomorrow, and I totally lost the ability to work with python matplotlib -
“import pylab”
“from pylab import *”
all yield the following error:
[code]Traceback (most recent call last):
File “”, line 1, in
File “/usr/lib/pymodules/python2.6/pylab.py”, line 1, in
from matplotlib.pylab import *
File “/usr/lib/pymodules/python2.6/matplotlib/pylab.py”, line 206, in
from matplotlib import mpl # pulls in most modules
File “/usr/lib/pymodules/python2.6/matplotlib/mpl.py”, line 3, in
from matplotlib import axes
File “/usr/lib/pymodules/python2.6/matplotlib/axes.py”, line 17, in
import matplotlib.dates as mdates
File “/usr/lib/pymodules/python2.6/matplotlib/dates.py”, line 87, in
import pytz
File “/usr/lib/python2.6/dist-packages/pytz/init.py”, line 32, in
from pkg_resources import resource_stream
ValueError: bad marshal data
[/code]
I am using python-matplotlib on Debian Squeeze.
Any help would be appreciated !
Thanks,
···
–
Oz Nahum
Graduate Student
Zentrum für Angewandte Geologie
Universität Tübingen
Imagine there’s no countries
it isn’t hard to do
Nothing to kill or die for
And no religion too
Imagine all the people
Living life in peace