在Linux上安裝Python的MySQLdb的時候,提示
Python.h 沒有那個文件或目錄,
error: Setup script exited with error: command 'gcc' failed with exit status 1
經過查閱資料才知道,需要安裝好Python的靜態庫,頭文件,
apt-get即可;
sudo apt-get install python-dev
在Linux上安裝Python的MySQLdb的時候,提示
Python.h 沒有那個文件或目錄,
error: Setup script exited with error: command 'gcc' failed with exit status 1
經過查閱資料才知道,需要安裝好Python的靜態庫,頭文件,
apt-get即可;
sudo apt-get install python-dev
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c