当前位置:网站首页>[solution] package 'XXXX' is not in goroot
[solution] package 'XXXX' is not in goroot
2022-07-07 20:12:00 【cztAI】
error
package ‘xxxx‘ is not in GOROOT
vscode Print GOROOT The path is not now go Installation path for , Then I put GOROOT This path has been changed , Report errors
go: cannot find GOROOT directory
Think of before in vscode The terminal of the go env -w Set the environment , Then I try to use this method to change it to now go Installation path for , Finally successfully repaired [ Lacrimal ].
resolvent :
open vscode terminal , use go Command setting environment
go env -w GOROOT=【 Fill in here go The installation path 】
go env -w GOROOT=D:\go\
Mainly unfamiliar with the environment configuration , Legacy problems caused by disorderly configuration , I wish to record .
边栏推荐
- mock.js从对象数组中任选数据返回一个数组
- 第二十章 使用工作队列管理器(三)
- LeetCode_ 7_ five
- Chapter 20 using work queue manager (3)
- 最多可以参加的会议数目[贪心 + 优先队列]
- Training IX basic configuration of network services
- Some important knowledge of MySQL
- 数据孤岛是企业数字化转型遇到的第一道险关
- CUDA versions are inconsistent, and errors are reported when compiling apex
- CSDN syntax description
猜你喜欢

【STL】vector

模拟实现string类

Detailed explanation of Flink parallelism and slot

BI的边界:BI不适合做什么?主数据、MarTech?该如何扩展?

Simulate the implementation of string class

Open source heavy ware! Chapter 9 the open source project of ylarn causal learning of Yunji datacanvas company will be released soon!

论文解读(ValidUtil)《Rethinking the Setting of Semi-supervised Learning on Graphs》

【哲思与实战】程序设计之道

LeetCode_ 7_ five

Opencv学习笔记 高动态范围 (HDR) 成像
随机推荐
mysql 的一些重要知识
【STL】vector
【STL】vector
MSE API学习
PHP method of obtaining image information
毕业季|遗憾而又幸运的毕业季
Kubernetes -- detailed usage of kubectl command line tool
The state cyberspace Office released the measures for data exit security assessment: 100000 information provided overseas needs to be declared
pom. XML configuration file label: differences between dependencies and dependencymanagement
强化学习-学习笔记8 | Q-learning
Semantic slam source code analysis
RESTAPI 版本控制策略【eolink 翻译】
第二十章 使用工作队列管理器(三)
vulnhub之tre1
CUDA versions are inconsistent, and errors are reported when compiling apex
mock.js从对象数组中任选数据返回一个数组
Leetcode force buckle (Sword finger offer 36-39) 36 Binary search tree and bidirectional linked list 37 Serialize binary tree 38 Arrangement of strings 39 Numbers that appear more than half of the tim
【哲思与实战】程序设计之道
Welcome to the markdown editor
力扣 1961. 检查字符串是否为数组前缀