Coder Social home page Coder Social logo

Comments (7)

Krueladin avatar Krueladin commented on June 15, 2024 2

Oh I see. I misread the error message. Looks like all you need to do is add the -B flag. I repro-ed on a clean docker image and tried a different command - leading to resolution.
image
image

So use the binary install: gvm install go1.20 -B followed by gvm use go 1.20

And if you haven't already, make sure to install the recommended packages first.

from gvm.

wakaryry avatar wakaryry commented on June 15, 2024 1

suggest: goenv

from gvm.

Krueladin avatar Krueladin commented on June 15, 2024

I can see that you're currently using go1.4. I was on something like go1.10. I had a similar issue when I attempted to get the latest version earlier today and I had to install an intermediate package (go1.17).

gvm install go1.17
gvm use go1.17

Then followed by the version I wanted

gvm install go.1.20
gvm use go1.20

This seemed to resolve any issues.

from gvm.

jedrekdomanski avatar jedrekdomanski commented on June 15, 2024

I can see that you're currently using go1.4. I was on something like go1.10. I had a similar issue when I attempted to get the latest version earlier today and I had to install an intermediate package (go1.17).

gvm install go1.17

gvm use go1.17

Then followed by the version I wanted

gvm install go.1.20

gvm use go1.20

This seemed to resolve any issues.

I am running a MaOS and never installed any go version before and in fact I don't have any go versions installed at the moment.

from gvm.

wakaryry avatar wakaryry commented on June 15, 2024

if use -B, got ERROR: Binary Go unavailable for this platform

from gvm.

DrkCoater avatar DrkCoater commented on June 15, 2024

Oh I see. I misread the error message. Looks like all you need to do is add the -B flag. I repro-ed on a clean docker image and tried a different command - leading to resolution. image image

So use the binary install: gvm install go1.20 -B followed by gvm use go 1.20

And if you haven't already, make sure to install the recommended packages first.

I was on Ubuntu 22, had the same issue. No problem on my MacOS.
The '-B' option you suggested worked for me, thank you so much!

from gvm.

ankitcharolia avatar ankitcharolia commented on June 15, 2024

@wakaryry @DrkCoater @jedrekdomanski @Krueladin kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv

from gvm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.