go-python / gopy

gopy generates a CPython extension module from a go package.
BSD 3-Clause "New" or "Revised" License
2.05k stars 113 forks source link

command not found: gopy #313

Closed trueToastedCode closed 1 year ago

trueToastedCode commented 1 year ago

Followed the installation instructions

$ python3 -m pip install pybindgen
$ go install golang.org/x/tools/cmd/goimports@latest
$ go install github.com/go-python/gopy@latest
$ gopy
command not found: gopy
trueToastedCode commented 1 year ago

Ok so it's installed under ~/go/bin/gopy and you probably want to add the folder to the path variable... for MacOS:

export PATH=<someotherpath>:/Users/<username>/go/bin:$PATH
source .zshrc