近日直接从studygo下载下来的go1.12.14.darwin-amd64.pkg解压后没有libexec目录,导致编译时一直报错:
can't load package: package bufio: unknown import path "bufio": cannot find module providing package bufio
查了许久,决定用homeBrew安装指定版本
brew search go
brew install go@1.12
近日直接从studygo下载下来的go1.12.14.darwin-amd64.pkg解压后没有libexec目录,导致编译时一直报错:
can't load package: package bufio: unknown import path "bufio": cannot find module providing package bufio
查了许久,决定用homeBrew安装指定版本
brew search go
brew install go@1.12
本文标题:brew安装指定版本
本文链接:https://www.haomeiwen.com/subject/zcoynctx.html
网友评论