ImportError: cannot import name 'imsave' from 'scipy.misc' (C:\Users\DELL\AppData\Roaming\Python\Pyt

tags: An error

And yet another error and, alas, being given as follows:
ImportError: cannot import name ‘imsave’ from ‘scipy.misc’ (C:\Users\DELL\AppData\Roaming\Python\Python37\site-packages\scipy\misc_init_.py)
checked and found that it seems you need to install this package PIL, then pip without success, and then found this package is actually not called formerly known as PIL! ! ! ! Mad, solution:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pillow(For a source), in addition to numpy, scipy two packages have to install.

Do you think this over? No, not yet. . . (Please ignore the following error if you do not) I still error, continuing, open environment where you are using python, and I use the anaconda, it opened directly prompt (and this is useless if you do not know if it would win + r, and then enter cmd, enter, and then enter the Python, and then import scipy.misc, and dir (scipy.misc) can)
is an anaconda please read if, after opening the first activation environment (i.e. activate context name), do not look inside the base, and then enter the Python, and import scipy.misc, then dir (scipy .misc) can then view the inside of things, if you do not want to import the module that version of the problem. As shown below, it is a version of the problem I then checked and found imsave function has been deprecated. . . Well, find a solution to it. . .

Intelligent Recommendation

from scipy.misc import imread ImportError: cannot import name 'imread'

Check the scipy.misc help file to know that imread depends on the pillow, so install the pillow: Also pay attention to the problem with the library version....

from scipy.misc import comb ImportError: cannot import name comb

Article Directory solution: 1. Problem description: Reason analysis: according to the prompt: from scipy.misc import comb ImportError: cannot import name ‘comb’ The problem lies in the sci...

From scipy.misc import imread - "Importerror: Cannot IMPORT NAME 'IMREAD' solution

The error system prompts as follows: Regarding the problem that IMREAD, IMREAD cannot be imported from SCIPY.MISC, it is not possible to find a lot of ways from the Internet, including the installatio...

ImportError: cannot import name imsave error

Windows or Linux has scipy installed, but run the following sentence Will report an error Many tutorials say that the Pillow package is missing, but I am already safe. The final solution is to worry a...

Solve the problem of ImportError: cannot import name imsave

problem: scipy1.3.2 (the current latest version) is installed in the Anaconda environment, run the following sentence: Error: After reading a lot of tutorials, it suggested that the Pillow package nee...

More Recommendation

Solve ImportError: cannot import name “imread” from “scipy.misc”

As shown in the figure, you may get the above error when using imread. In order to solve the above problems, there are currently two methods that are effective: 1. Install a low version of scipy First...

IMPORTERROR: Cannot Import Name 'IMREAD' from 'Scipy.misc' Solutions

IMPORTERROR: Cannot Import Name 'IMREAD' from 'Scipy.misc' Solutions WordCloud library often seeing the word cloud Use when you use Python to draw words cloud: Appeared ImportError: cannot import name...

Solve ImportError: Cannot Import Name 'IMREAD' from 'Scipy.misc'

Reinstall the following two packages #########################################solve######## ####################...

from scipy.misc import imresize ImportError: cannot import name ‘imresize‘ from ‘scipy.misc‘

Wrong   solution Reduce the version of Scipy to 1.1.0 or less  ...

ImportError: cannot import name 'imread' from 'scipy.misc' (C:\ProgramData\Anaconda3\lib\site-packag

ImportError: cannot import name ‘imread’ from ‘scipy.misc’ (C:\ProgramData\Anaconda3\lib\site-packages\scipy\misc_init_.py) Solution: Uninstall the old version first: re-instal...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top