cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%
解决方法:
下载这个版本:
解压缩放入C:\Program Files目录下:
配置环境变量:
设置环境变量path
打开cmd窗口, 输入 gcc -v 能看到版本号,就安装成功了。
cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in %PATH%
下载这个版本:
解压缩放入C:\Program Files目录下:
配置环境变量:
设置环境变量path
打开cmd窗口, 输入 gcc -v 能看到版本号,就安装成功了。