Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scipy version and 'imresize' #62

Closed
eugene6789 opened this issue Apr 9, 2019 · 4 comments
Closed

scipy version and 'imresize' #62

eugene6789 opened this issue Apr 9, 2019 · 4 comments

Comments

@eugene6789
Copy link

I've created one virtual environment on Anaconda
and installed tensorflow= 1.10.0 / numpy = 1.13.3 / scipy = 1.2.1 and keras.

I could not install tensorflow-gpu because I don't have gpu..
and If I run code,
I'm getting this message saying,
"from scipy.misc import imresize, imread
ImportError: cannot import name 'imresize"

from somewhere, somebody said that 'imresize' is deprecated from scipy ==1.0.0 so I tried a lower version but
the result was same too.

Do somebody have any idea to help me to resolve this problem?

@BrianMowrey
Copy link

try
pip install Pillow

scipy.misc.imresize docs say "This function is only available if Python Imaging Library (PIL) is installed."

worked for me

@Vladkryvoruchko
Copy link
Owner

Closed due to no activity

@atabakd
Copy link

atabakd commented Jun 6, 2019

Since scipy 1.3.0rc1 resize has been removed.

@mhkeller
Copy link

In addition to installing Pillow, I also had to do pip install scipy==1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants