-
Notifications
You must be signed in to change notification settings - Fork 262
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
Cannot import third party packages #241
Comments
Importing third-party packages is only supported on Linux and Mac OS X - on them, you just need to execute import "some/package/path" as described in gomacro README.md There is a way to import them also on Windows, but it's more complicated and it involves recompiling gophernotes (you need to adapt the procedure described at https://github.com/cosmos72/gomacro#other-systems). If you are using Docker: I am not expert with Docker and cannot help with it - maybe others can (@sbinet ?) |
Standard packages work fine but does not with third party packages I have this running inside docker using the latest official docker image gopherdata/gophernotes Any workaround? am sure there are others using docker that work with codes that require third party packages |
what do you mean? |
The error in the first post above suggests that gophernotes inside Docker is compiled without Go modules support. If I understand correctly, @sbinet has updated Docker installation procedure to use a recent version of Go toolchain, which should also solve this issue. Can you try again (following Docker installation procedure, not downloading the pre-built Docker image which quite likely still uses the old Go toolchain) ? In case you are not using Docker, or if you want to try the plain Windows version of gophernotes, the procedure to import third-party packages from gophernotes on Windows is explained in issue 243 |
Any update on this one. Banging my head against the same issue... :) |
Even though... When building my own image with the Dockerfile in the repo it works. The DockerHub image is 4 years old. |
I am trying to use a third party package within my gophernote and got the following error
now i
docker exec -it gophernotes sh
and then ranhow do we install third party packages to use in gophernote?
why is there no doc in README about how to do this?!?
The text was updated successfully, but these errors were encountered: