(py2) C:\ProgramData\Anaconda3\envs\py2\Lib\site-packages\caffe>python
Python 2.7.17 (default, Oct 28 2019, 21:35:07) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
import caffe
Warring, linalg not in all !
Traceback (most recent call last):
File "", line 1, in
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\caffe__init.py", line 1, in
from .pycaffe import Net, SGDSolver, NesterovSolver, AdaGradSolver, RMSPropSolver, AdaDeltaSolver, AdamSolver, NCCL, Timer
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\caffe\pycaffe.py", line 11, in
import numpy as np
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\numpy__init.py", line 145, in
from . import lib
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\numpy\lib__init.py", line 24, in
from .npyio import *
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\numpy\lib\npyio.py", line 13, in
from . import format
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\numpy\lib\format.py", line 161, in
import io
File "io.py", line 2, in
import skimage.io
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\skimage__init.py", line 168, in
from .util.dtype import (img_as_float32,
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\skimage\util\init__.py", line 12, in
from ._montage import montage, montage2d
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\skimage\util_montage.py", line 2, in
from .. import exposure
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\skimage\exposure\init__.py", line 1, in
from .exposure import histogram, equalize_hist, \
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\skimage\exposure\exposure.py", line 4, in
from ..color import rgb2gray
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\skimage\color\init__.py", line 1, in
from .colorconv import (convert_colorspace,
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\skimage\color\colorconv.py", line 59, in
from scipy import linalg
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\scipy\linalg\init__.py", line 190, in
from .misc import *
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\scipy\linalg\misc.py", line 6, in
from .lapack import get_lapack_funcs
File "C:\ProgramData\Anaconda3\envs\py2\lib\site-packages\scipy\linalg\lapack.py", line 498, in
olduint = _np.deprecate(_np.uint)
AttributeError: 'module' object has no attribute 'deprecate'
'module' object has no attribute 'deprecate'
When import caffe, the error is as below:
(py2) C:\ProgramData\Anaconda3\envs\py2\Lib\site-packages\caffe>python Python 2.7.17 (default, Oct 28 2019, 21:35:07) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information.