在Windows下编译PyCaffe

在Windows下编译PyCaffe之前,除了需要安装Python2.7以外还需要安装其他插件,否则会遇到类似于如下的错误:

can not find module skimage.io

此时需要安装scikit-image插件。


所有需要安装的组件如下:

Python2.7:
https://www.python.org/downloads/windows/

插件:
NumPy, a fundamental package needed for scientific computing with Python.
Pillow, a replacement for PIL, the Python Image Library, which provides image processing functionality and supports many file formats.
SciPy is software for mathematics, science, and engineering.
Matplotlib, a 2D plotting library.
Scikit-learn integrates classic machine learning algorithms.
Scikit-image provides image processing routines for SciPy.
H5py, a general-purpose interface to the HDF5 library.
NetworkX, a package for complex networks.
Nose extends unittest to make testing easier.
Pandas, a cross-section and time series data analysis toolkit.
IPython, an interactive computing environment.
protobuf leveldb gflags Cython ipython

安装:
1.可以先安装pip,然后在命令行中输入命令安装:

> pip install *

2.pip不能安装的,可以在http://www.lfd.uci.edu/~gohlke/pythonlibs/中下载*_cp27-none-win_amd64.whl文件,并在命令行中安装:

> wheel install *_cp27-none-win_amd64.whl

此时,可以编译PyCaffe了。

posted @ 2016-01-16 21:50  李庆喜  阅读(424)  评论(0编辑  收藏  举报