我是python的新手,我试图从skimage.io导入imread函数,但是它打开了很多意外错误。我尝试通过pip命令安装skimage.io,但是它说找不到版本满足要求。 我什至尝试使用conda install在anaconda环境中安装它,但显示包未找到错误。
我正在使用python 3.6:-
Python 3.6.0a4 (v3.6.0a4:017cf260936b, Aug 16 2016, 00:45:10) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
在Anaconda环境中:-
(myenv) C:\Users\SOMIL RASTOGI>python
Python 2.7.15 |Anaconda, Inc.| (default, May 1 2018, 18:37:09) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
输入时,我在Python中收到的错误:
from skimage.io import imread
C:\Users\SOMIL RASTOGI\Desktop\pythonml-master\DeepOCR>python DeepOCR.py
Traceback (most recent call last):
File "DeepOCR.py", line 6, in <module>
from skimage.io import imread
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\skimage\__init__.py", line 177, in <module>
from .data import data_dir
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\skimage\data\__init__.py", line 18, in <module>
from ._binary_blobs import binary_blobs
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\skimage\data\_binary_blobs.py", line 2, in <module>
from ..filters import gaussian
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\skimage\filters\__init__.py", line 2, in <module>
from ._gaussian import gaussian
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\skimage\filters\_gaussian.py", line 3, in <module>
from scipy import ndimage as ndi
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scipy\ndimage\__init__.py", line 161, in <module>
from .filters import *
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scipy\ndimage\filters.py", line 38, in <module>
from . import _ni_docstrings
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scipy\ndimage\_ni_docstrings.py", line 4, in <module>
from scipy.misc import doccer
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scipy\misc\__init__.py", line 68, in <module>
from scipy.interpolate._pade import pade as _pade
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scipy\interpolate\__init__.py", line 175, in <module>
from .interpolate import *
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scipy\interpolate\interpolate.py", line 21, in <module>
import scipy.special as spec
File "C:\Users\SOMIL RASTOGI\AppData\Local\Programs\Python\Python36-32\lib\site-packages\scipy\special\__init__.py", line 640, in <module>
from ._ufuncs import *
ImportError: DLL load failed: The specified procedure could not be found.
即使我在自己的
中看到了这些错误C:\ Users \ SOMIL RASTOGI \ Anaconda3 \ Lib \ site-packages
和
C:\ Users \ SOMIL RASTOGI \ AppData \ Local \ Programs \ Python \ Python36-32 \ Lib \ site-packages
我已经运行了pip install Scikit-image,它已经在我的站点包文件夹中生成了scikit-image文件夹。
我只看到skimage文件夹。 请帮忙。