简体   繁体   中英

cannot import name '_nd_image' - SCIPY

I'm having this problem:

File "C:\\IntelPython3\\lib\\site-packages\\scipy\\ndimage\\filters.py", line 37, in

from . import _nd_image

ImportError: cannot import name '_nd_image'

I was checking in that path and i can't find any module or something called nd_image but i've looked for all the scipy releases and i can't find it too.

Can someone help please? (WINDOWS)

You might be using the older version of scipy with the latest version of python.
You should upgrade scipy to solve the problem by typing below command line.

pip install --upgrade scipy

If you are not using pip in Window, you can use conda or other things.

And actually, you can not find _nd_image.py module. This question might be helpful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM