takluyver / igo

(Unmaintained) Go Kernel for Jupyter
MIT License
125 stars 10 forks source link

Not building with zmq4 #5

Open smahs opened 9 years ago

smahs commented 9 years ago
> go version
go version go1.4.2 linux/amd64
> pacman -Qi zeromq
Name           : zeromq
Version        : 4.0.5-1
> go get github.com/takluyver/igo
# github.com/alecthomas/gozmq
could not determine kind of name for C.ZMQ_HWM
could not determine kind of name for C.ZMQ_MCAST_LOOP
could not determine kind of name for C.ZMQ_RECOVERY_IVL_MSEC
could not determine kind of name for C.ZMQ_SWAP

Not sure if this is an igo issue, or of gozmq. But since gozmq is phased out, posting it here.

takluyver commented 9 years ago

If you want to update this to use another set of zmq bindings, go ahead. But even when you can install it, the code execution allowed by go-eval is really restricted, so it's not practically useful. Go is not really designed for dynamic, interactive use.

ChristianKniep commented 8 years ago

Hey, how can I work around this?

takluyver commented 8 years ago

I think you'd have to update it to a supported go binding. This was rather a toy project for me to learn go, and the state of dynamic execution for go was never good enough for it to be useful. I'll merge PRs if they look sensible, but I don't plan to spend any time updating it myself.

takluyver commented 8 years ago

There is now a new Go kernel called gophernotes that appears to be much more capable than igo. I'd recommend using that.