X Tutup
The Wayback Machine - https://web.archive.org/web/20201204231842/https://github.com/go-python/gopy/issues/231
Skip to content
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

Add instructions for go.mod support and update version #231

Open
rcoreilly opened this issue Sep 18, 2020 · 0 comments
Open

Add instructions for go.mod support and update version #231

rcoreilly opened this issue Sep 18, 2020 · 0 comments

Comments

@rcoreilly
Copy link
Contributor

@rcoreilly rcoreilly commented Sep 18, 2020

To build using go modules on, you need a go.mod file where you're building, which has the latest version of gopy as a requirement. This fixes for example the issue from #228 and perhaps some others.

$ go mod init
$ go get -u github.com/go-python/gopy@master

if you don't do this, you'll get some errors about not finding gopyh. stuff, e.g.:

./leabra.go:207:2: undefined: gopyh.DecRef
./leabra.go:213:2: undefined: gopyh.IncRef
./leabra.go:219:9: undefined: gopyh.NumHandles

also should update a new tag so maybe it will default to the right thing. will add this info to the README first though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup