当前位置:网站首页>Error: note: module requires go 1.17
Error: note: module requires go 1.17
2022-06-22 05:43:00 【weixin_ forty-six million two hundred and seventy-two thousand 】
error message
PS D:\syz\study\computer_science\Go\workspaces\src\study-code\web_app> go run .\main.go
# golang.org/x/net/http2
..\..\..\pkg\mod\golang.org\x\[email protected]\http2\transport.go:416:45: und
efined: os.ErrDeadlineExceeded
note: module requires Go 1.17
By prompting , I need to download it GO 1.17
download Go 1.17
- Download address :Downloads - The Go Programming Language (google.cn)
- Download version
Go1.17.3.windows-amd64.zip
Need to set up GOROOT environment variable , Just take the folder you installed . For example, I downloaded Go 1.17 Put it in Go 1.17 Under the folder .

after , open cmd, Input go version, You can see Go Language version
Reconfiguration GoLand
I was in GoLand Write down the , And my GoLand default GOROOT It's the old version , So I need to reset GOROOT route .

At this point, the running program is successfully compiled

边栏推荐
- Network, IO flow, reflection, multithreading, exception
- 独立站优化清单丨如何有效提升站内转化率?
- Development planning and investment strategy analysis report of global and Chinese microwave ablation industry during the 14th Five Year Plan period 2022-2027
- 《双内核实时系统下各个进程间通信方法的性能分析和测试》
- Working method: 3C scheme design method
- Zhiyuan OA vulnerability analysis, utilization and protection collection
- Link a static library‘s all sections
- 企业如何把ERP项目自动施行?
- How to find the source of goods for novice stores and how to find high-quality sources of goods?
- count registers in C code -- registers has one pattern
猜你喜欢
随机推荐
Hide symbol of dynamic library
Sourcetree reported an error SSH failure
count registers in C code -- registers has one pattern
Does the air valve perform the en 1634-1 fire resistance test for 4 hours?
OPTEE notes
微信小程序给子组件赋值方式
大厂晋升学习方法四:Play 学习法
Data storage (Advanced)
Gerrit Code Review Setup
Tensorflow 2. Chapter 14: callbacks and custom callbacks in keras
爬虫初始及项目
记本地项目启动报错:无效的源发行版: 8
【毕业季·进击的技术er】一个读研学生的唠唠嗑
强制删除 Terminating 状态的 namespace
A simple method to implement deep cloning and encapsulation of objects JS
Leetcode hot1-50
tmux -- ssh terminal can be closed without impact the server process
从“ 平台转型 ”到“ DTC品牌出海 ”,2021趋势何在?
为什么说“ CPS联盟营销 ” 是性价比最高的推广方式?
Research Report on global and Chinese active Ethernet access device industry demand trend and investment prospect 2022-2027








