caffe编译 `make pytest` 出错:`fatal error: 'pyconfig.h' file not found`
来源:互联网 发布:美工电脑是什么意思 编辑:程序博客网 时间:2024/05/29 19:47
找到你的pythonfig.h
的位置,Mac下可以使用命令:
locate pyconfig.h
得到位置:/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyconfig.h
然后在当前终端中输入(要对应地址):
export CPLUS_INCLUDE_PATH="$CPLUS_INCLUDE_PATH:/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/include/python2.7/"
不再出现该错误。
阅读全文
0 0
- caffe编译 `make pytest` 出错:`fatal error: 'pyconfig.h' file not found`
- caffe编译:fatal error: pyconfig.h: No such file or directory #include "pyconfig.h"
- fatal error: pyconfig.h: No such file or directory找不到pyconfig.h文件---解决对策
- YouCompleteMe fatal error No Such file pyconfig.h
- Mac OS X 10.10 编译代码出错 fatal error: '__debug' file not found #include <__debug>
- 关于 Fatal error: ‘SpringBoard/SpringBoard.h’ file not found
- fatal error: 'XCTest/XCTest.h' file not found
- clang fatal error: 'stdio.h' file not found
- Clang:fatal error:'stdio.h' file not found的解决方法
- 解决fatal error: 'ffi.h' file not found
- 解决clang"fatal error: 'stdio.h' file not found"问题
- Ubuntu系统 cmake 时出现错误:fatal error: pyconfig.h: No such file or directory
- mac下给php编译openssl扩展报错 fatal error: 'openssl/evp.h' file not found
- ios react native 手动配置 realm 使用cocoapods 会编译报错 fatal error: 'React/RCTBridge.h' file not found
- Nginx安装过程中make出错fatal error: pcre.h: No such file or directory
- fatal error: 'HIToolbox/HIToolbox.h' file not found #import <HIToolbox/HIToolbox.h>
- ios library not found for -xxx(.a编译出错),xxx.h file not found(framework编译出错)
- python安装软件出现错误 fatal error: 'libxml/xmlversion.h' file not found
- ros学习
- VM 虚拟机配置NAT模式,连接互联网
- caffe 训练模型时出错 caffe-parallel has a bug: Check failed: proto.SerializeToOstream(&output)
- SDUT 2122-数据结构实验之链表七:单链表中重复元素的删除
- 可扩展ListView
- caffe编译 `make pytest` 出错:`fatal error: 'pyconfig.h' file not found`
- android之微信分享音频
- 代码规范 : 集合处理
- Resource Acquisition Is Initialization(RAII)
- 3.Longest Substring Without Repeating Characters
- MongoDB的基本使用
- poj 2236
- 南阳oj S + T
- R之箱线图