-
Notifications
You must be signed in to change notification settings - Fork 546
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
Installing go1.20.2 line 85: go: command not found #425
Comments
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. |
if use -B, got |
suggest: goenv |
@wakaryry @DrkCoater @jedrekdomanski @Krueladin kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv |
I tried to install the latest version
go1.20.2
and get the following errorI tried to debug it and it looks like the source code is not copied from
$GO_CACHE_PATH
to$GO_INSTALL_ROOT
The $version, $GO_CACHE_PATH and $GO_INSTALL_ROOT is there,
echo
ing proves itprints
The script fails at
I'm not sure why the source code is not copied over to the
.gvm/gos
The logs say
The text was updated successfully, but these errors were encountered: