Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何安装arm64版本,目前安装的是 386版本 #65

Open
bigfool-cn opened this issue Apr 30, 2022 · 3 comments
Open

如何安装arm64版本,目前安装的是 386版本 #65

bigfool-cn opened this issue Apr 30, 2022 · 3 comments
Labels
question Further information is requested

Comments

@bigfool-cn
Copy link

No description provided.

@voidint
Copy link
Owner

voidint commented May 1, 2022

你提供的信息太少,无法做出有效的判断。什么操作系统?什么硬件架构?如何安装的,手动还是自动?安装指安装的什么,指安装 g ,还是指的安装 go ?

@liaodalin19903
Copy link

liaodalin19903 commented Jul 12, 2022

I go into this issue too.

I am a Windows 10 64bit OS with Intel i7-8700 CPU.

>g use 1.17.11
go version go1.17.11 windows/386

@voidint

@voidint voidint added the question Further information is requested label Aug 30, 2022
@akayj
Copy link
Contributor

akayj commented Jun 9, 2023

I go into this issue too.

I am a Windows 10 64bit OS with Intel i7-8700 CPU.

>g use 1.17.11
go version go1.17.11 windows/386

@voidint

原因分析

g install 命令是根据 runtine.GOARCH 推测你的CPU架构的,所以可能是安装的g为386版本
可以查看 ~/.g/downloads/go1.17.11.windows-386.tar.gz 是否存在来大致推断

修复方法

  1. 重新下载 g, 并替换现有的可执行文件
  2. 删除 ~/.g/versions
  3. 运行 g install 1.17.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants