From: Benjamin R. <ben...@ou...> - 2012-01-14 19:03:08
|
Tried using plt.imread() today on a PNG file, and I am getting this PyCXX error: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/ben/Programs/matplotlib/lib/matplotlib/pyplot.py", line 1746, in imread return _imread(*args, **kwargs) File "/home/ben/Programs/matplotlib/lib/matplotlib/image.py", line 1218, in imread return handler(fd) TypeError: PyCXX: Error creating object of type N2Py6ObjectE from (nil) Using master branch on Python 2.7 on 32-bit Ubuntu Oneric. Seems to happen to both color and b&w images. scipy.ndimage.imread() still works fine, though. Ben Root |