当前位置:网站首页>【解决】package ‘xxxx‘ is not in GOROOT
【解决】package ‘xxxx‘ is not in GOROOT
2022-07-07 18:06:00 【cztAI】
错误
package ‘xxxx‘ is not in GOROOT
vscode 打印 GOROOT 路径不是现在 go 的安装路径,然后我把 GOROOT 这条路径给改了,报错
go: cannot find GOROOT directory
想到之前在 vscode 的终端用 go env -w 设置过环境,然后我试着用该方法改为现在 go 的安装路径,终于成功修复 [泪目]。
解决方法:
打开 vscode 终端,用 go 命令设置环境
go env -w GOROOT=【这里填go安装路径】
go env -w GOROOT=D:\go\
主要还是对环境配置不熟悉,乱配置导致的遗留问题,特此记录。
边栏推荐
- R language uses ggplot2 function to visualize the histogram distribution of counting target variables that need to build Poisson regression model, and analyzes the feasibility of building Poisson regr
- Version selection of boot and cloud
- 【Auto.js】自动化脚本
- 九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
- Solve the problem of incomplete display around LCD display of rk3128 projector
- 微信公众号OAuth2.0授权登录并显示用户信息
- pom.xml 配置文件标签作用简述
- MIT科技评论文章:围绕Gato等模型的AGI炒作可能使人们忽视真正重要的问题
- 关于cv2.dnn.readNetFromONNX(path)就报ERROR during processing node with 3 inputs and 1 outputs的解决过程【独家发布】
- The DBSCAN function of FPC package of R language performs density clustering analysis on data, checks the clustering labels of all samples, and the table function calculates the two-dimensional contin
猜你喜欢

LeetCode_ 7_ five

微信公众号OAuth2.0授权登录并显示用户信息

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

Vulnhub's funfox2

一键部署Redis任意版本

开源OA开发平台:合同管理使用手册

Some important knowledge of MySQL

Classification automatique des cellules de modules photovoltaïques par défaut dans les images de lecture électronique - notes de lecture de thèse

vulnhub之Funfox2

CSDN syntax description
随机推荐
R language ggplot2 visualization: use the ggviolin function of ggpubr package to visualize the violin diagram, set the palette parameter to customize the filling color of violin diagrams at different
About cv2 dnn. Readnetfromonnx (path) reports error during processing node with 3 inputs and 1 outputs [exclusive release]
力扣 643. 子数组最大平均数 I
Creation of kubernetes mysql8
整型int的拼接和拆分
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
JVM GC garbage collection brief
rk3128投影仪lcd显示四周显示不完整解决
关于自身的一些安排
R language dplyr package select function, group_ The by function, filter function and do function obtain the third largest value of a specific numerical data column in a specified level in a specified
YoloV6:YoloV6+Win10---训练自己得数据集
841. String hash
微信公众号OAuth2.0授权登录并显示用户信息
力扣599. 两个列表的最小索引总和
841. 字符串哈希
pom. Brief introduction of XML configuration file label function
开源重器!九章云极DataCanvas公司YLearn因果学习开源项目即将发布!
MRS离线数据分析:通过Flink作业处理OBS数据
Force buckle 88 Merge two ordered arrays
论文解读(ValidUtil)《Rethinking the Setting of Semi-supervised Learning on Graphs》