【Go】cgo: C compiler “gcc“ not found: exec: “gcc“: executable fil
go 引用 go-sqlite3 模塊時(shí),報(bào)錯:
# github.com/mattn/go-sqlite3
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%
解決方案:
安裝 TDM-GCC 即可
https://jmeubank.github.io/tdm-gcc/articles/2021-05/10.3.0-release
標(biāo)簽: