Closed JanEricNitschke closed 1 year ago
And if i try to execute the following command manually go build -mod=mod -buildmode=c-shared -o hi_go.pyd hi.go
then it get an error that it can not find Python.h even if i try to set GOPY_INCLUDE
etc.
Setting export NoDefaultCurrentDirectoryInExePath=1
solved the first issue.
And that also fixes the second issue because running the command standalone means a bunch of other things arent set correctly for compilation.
I am trying to run the hi example from the readme. However i keep getting this error:
I am running with python 3.11.2 and go version go1.20.3 windows/amd64 on windows. However the same happens for go1.19 and 1.18.