- fatal error: Python.h: No such file or directory
如果是ubuntu或是debian等deb套件系統來的Linux,執行:
- sudo apt-get install python-dev # for python2.x installs
- sudo apt-get install python3-dev # for python3.x installs
- sudo dnf install python-devel # for fedora
- sudo yum install python-devel # for CentOS
_EOF_
沒有留言:
張貼留言