Comments (11)
Hi @carlisia! Thanks for trying out the notebook. What version of ZeroMQ do you have? Also, did you modify the Jupyter kernel.json
file? If so, could you copy the contents here?
from gophernotes.
Check this out:
☻ brew install zeromq22
Warning: homebrew/versions/zeromq22-2.2.0 already installed
{
"argv": [
"/Users/carlisiacampos/.gvm/pkgsets/go1.5.1/global/go/bin/gophernotes",
"{connection_file}"
],
"display_name": "Golang",
"language": "go",
"name": "go"
}
from gophernotes.
Oops, the path is wrong!
from gophernotes.
Ok, fixed the path (there was an extra go
in there) but still the same.
from gophernotes.
Not the kernel.json file looks like this:
{
"argv": [
"/Users/carlisiacampos/.gvm/pkgsets/go1.5.1/global/bin/gophernotes",
"{connection_file}"
],
"display_name": "Golang",
"language": "go",
"name": "go"
}
from gophernotes.
Can you run the gophernotes binary in a terminal, just as gophernotes
? Any output? Also, what version of Jupyter?
from gophernotes.
☻ gophernotes --help
Usage of gophernotes:
-autoimport
formats and adjusts imports automatically
-context string
import packages, functions, variables and constants from external golang source files
-debug
Log extra info to stderr
-pkg string
specify a package where the session will be run inside
~GOPATH/src/github.com/gophergala2016/gophernotes
☻ jupyter --version
4.1.0
from gophernotes.
If you run gophernotes without the --help
do you get any output? Also, you could try putting the kernel file under $HOME/.ipython/kernels
.
from gophernotes.
☻ gophernotes
2016/05/01 15:29:30 Need a command line argument for the connection file.
I'll try placing the kernel file in that dir.
from gophernotes.
Yeah try ~/.ipython/kernels/gophernotes
instead of ~/.local/share/jupyter/kernels/gophernotes
from gophernotes.
Sorry, got side-tracked.
OMG it works! So awesome. Thank you.
from gophernotes.
Related Issues (20)
- [Question] How to import third-party packages on Windows? HOT 1
- Docker image update? HOT 4
- Error `cannot convert type <*main.b> to interface <error>` on valid Go code HOT 3
- extra output? HOT 1
- Proposal: present Gophernotes at Golab 2022 (Italy) ? HOT 3
- Running code in gophernotes is much slower than using go run HOT 4
- stop notebook on error HOT 2
- Dockerfile build image fail autocomplete HOT 1
- Import `google.golang.org/grpc` fails HOT 2
- not a package: "n" in n.multiply <*ast.SelectorExpr> HOT 1
- gophernotes and replace on go.mod
- Running in VSCode using jupyter HOT 7
- External repo not working HOT 6
- reflect.Value.Convert: value of type reflect.Value cannot be converted to type http.FileSystem
- compile: version "go1.19.4" does not match go tool version "go1.20.2" # unicode/utf16 HOT 2
- Cannot use third party libraries HOT 5
- When will the docker image use jupyter lab?
- fails to import "sync" package HOT 1
- runtime error: index out of range HOT 1
- unimplemented type
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gophernotes.