原文:[常见错误]Python.h: No such file or directory

这个错误是通过source code安装PyGeSQL时遇到的 另外还有一个错误可以通过下面的solution来解决 Solution 目录 usr include python . 缺少Python.h文件 ...

2012-07-26 14:27 0 12199 推荐指数:

查看详情

遇见Python.h: No such file or directory的解决方法

  出现No such file or directory错误,有两种情况,一种是没有Python.h这个文件,一种是Python的版本不对, 可以进入/usr/include/文件夹下的Pythonx.x文件夹里查找是否有Python.h这个文件。 如果是第一种情况,那么需要安装 ...

Sun Sep 23 06:54:00 CST 2018 0 31538
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM