Closed cosmicaug closed 4 years ago
This is an error while Go compiles its own standard library - to be precise, the package runtime/internal/atomic
.
Such things usually happen when you install a newer Go toolchain in the same directory as an older one - without deleting the older one first.
Please try a clean Go install, i.e. delete the directory /usr/local/go
then reinstall Go toolchain.
Let me know if this fixes the issue.
That's absolutely what appears to have happened & taking the suggested course of action has fixed the issue: second method succeeded: executing directly gives the expected result.
Go works from Jupyter cells.
Thank you.
Using Linux Mint 20 (codebase is Ubuntu 20.04).
This is what I am getting, on the first step, when attempting the manual installation from GOPATH: