💻Tech/🐍python

[python] pysqlite3 설치 오류 해결

_viper_ 2023. 4. 12. 10:45
반응형

🚫 ERROR

src/connection.h:34:21: fatal error: sqlite3.h: No such file or directory
#include "sqlite3.h"
compilation terminated.
error: command 'gcc' failed with exit status 1

 

💡 SOLVED

$ yum install -y libsqlite3x-devel
$ pip3 install pysqlite3