cascom
cascom

Reputation: 33

Error: "scipy.misc module has no attribute imread" in Anaconda Jupyter

When trying to use the line >> photo_data = misc.imread('./wifire/sd-3layers.jpg'), I receive the error output above.

I did everything as in the instruction video before running it, i.e.

%matplotlib inline; 
import numpy as np;
from scipy import misc;
import matplotlib.pyplot as plt
from skimage import data

The folder is in the correct working directory (user 2), so the isssue seems to lie in the imread function missing. Any ideas?

Upvotes: 0

Views: 57

Answers (1)

Tinu
Tinu

Reputation: 2503

The docu says:

imread is deprecated! imread is deprecated in SciPy 1.0.0, and will be removed in 1.2.0. Use imageio.imread instead.

imageio.imread()

Upvotes: 2

Related Questions