Skip to content

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

Open

Description

@bigfool-cn
No description provided.

Activity

  1. voidint commented on May 1, 2022

    @voidint
    Owner

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

  2. liaodalin19903 commented on Jul 12, 2022

    @liaodalin19903

    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

  3. akayj commented on Jun 9, 2023

    @akayj
    Contributor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions