AttributeError: 'module' object (scipy) has no attribute 'misc'
Full error message
I updated from ubuntu 12.04 to ubuntu 12.10 and the python module I have written suddenly no longer works with the error message that the module scipy does not have the attribute 'misc'. This worked previously. I am still using python 2.7 after the update. Here is where the code crashes import scipy scipy.misc.imsave(slice,dat) Any ideas?
Solutionsource: stackoverflow \u2197
>>> import scipy >>> scipy.misc Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'misc' >>> >>> >>> import scipy.misc >>> scipy.misc.imsave <function imsave at 0x19cfa28> >>> Which seems to be quite common with scipy.
API access
Get this solution programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/error/486f2d7d4a6ea0e9b0fbeddbe4e7f73305c7360a8d903b28e3f5c1c5d2350868hash \u00b7 486f2d7d4a6ea0e9b0fbeddbe4e7f73305c7360a8d903b28e3f5c1c5d2350868