{"id":1071,"hash":"486f2d7d4a6ea0e9b0fbeddbe4e7f73305c7360a8d903b28e3f5c1c5d2350868","pattern":"AttributeError: &#39;module&#39; object (scipy) has no attribute &#39;misc&#39;","full_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\n\nimport scipy\nscipy.misc.imsave(slice,dat)\n\nAny ideas?","ecosystem":"pypi","package_name":"ubuntu","package_version":null,"solution":">>> import scipy\n>>> scipy.misc\nTraceback (most recent call last):\n  File \"<stdin>\", line 1, in <module>\nAttributeError: 'module' object has no attribute 'misc'\n>>> \n>>> \n>>> import scipy.misc\n>>> scipy.misc.imsave\n<function imsave at 0x19cfa28>\n>>>\n\nWhich seems to be quite common with scipy.","confidence":0.95,"source":"stackoverflow","source_url":"https://stackoverflow.com/questions/13581593/attributeerror-module-object-scipy-has-no-attribute-misc","votes":66,"created_at":"2026-04-19T04:52:16.868464+00:00","updated_at":"2026-04-19T04:52:16.868464+00:00"}