按照caffe2的官方教程,配置caffe2的依赖项时报错。这篇博客记录了配置时出现问题,并且给出了一些解决办法
ipython 的版本和 python 版本问题 解决办法: http://blog.csdn.net/tao_627/article/details/44200287
错误提示:
error: library dfftpack has Fortran sources but no Fortran compiler found解决办法
需要先安装关联库 matplotlib>=1.3.1 numpy>=1.7.2 scipy>=0.9.0 six>=1.7.3 networkx>=1.8 pillow>=2.1.0 dask>=0.5.0 sudo pip install networkx sudo pip install dask 之后安装 sudo pip install scikit-image错误提示:
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/scipy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-7gUbTC-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_root/scipy Storing debug log for failure in /home/turtlebot/.pip/pip.log解决办法:
sudo apt-get install libblas-dev sudo apt-get install liblapack-dev sudo apt-get install gfortran sudo apt-get install python-scipy