Ubuntu caffe安装python/caffe/_caffe.cpp:1:52: fatal error: Python.h: No such file or directory
2016-06-20 19:19
573 查看
python/caffe/_caffe.cpp:1:52: fatal error: Python.h: No such file or directory
#include <Python.h> // NOLINT(build/include_alpha)
遇到此类问题基本是caffe找不到python,因此在make py之前反复确认下anaconda或python所在目录是否存在。
本人一直遇到的问题就是因为anaconda安装后 默认的名字为 anaconda2
因此需要修改。
#include <Python.h> // NOLINT(build/include_alpha)
遇到此类问题基本是caffe找不到python,因此在make py之前反复确认下anaconda或python所在目录是否存在。
本人一直遇到的问题就是因为anaconda安装后 默认的名字为 anaconda2
因此需要修改。
相关文章推荐
- python 模块
- python的基本语法
- Zabbix LLD监控之创建发现的Python脚本
- python大数据工作流程
- python操作Excel读写--使用xlrd
- 安装numpy和matplotlib
- Python--内建函数
- 实例讲解Python的函数闭包使用中应注意的问题
- python之面向对象(一)
- Python中的数学运算操作符使用进阶
- 初心大陆-----python宝典 第四章
- Python for循环 基础知识篇(重要)
- python sorted()用法详解
- Python中在for循环中嵌套使用if和else语句的技巧
- Python入门简单的静态网页爬虫3.0 (爬虫的示例代码)
- python爬虫
- 基于python的测试框架behave----context
- Python问题集锦
- 使用C写Python的模块
- Python __init__ 构造函数生成对象时调用关系