原文:[常見錯誤]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