py3-go icon indicating copy to clipboard operation
py3-go copied to clipboard

Linux support?

Open Chillance opened this issue 2 years ago • 4 comments

Hi!

I found your project looking for a nice way to embed python with Go. Going both ways where Go can call python and python can call Go functions. However, I noticed that this is essentially made to work mainly on Windows. Are there any plans to update this so it can work in Linux too? It really looks like a nice way to use python in Go, but it's unfortunately only working on Windows at the moment as far as I can tell.

Thanks!

Chillance avatar May 08 '23 20:05 Chillance

This project is a good job and should only work with Window scenarios for the time being.

https://github.com/aadog/py3-go/blob/master/cpy3/importfuncs.go#L123

the DLL* api of golang, just windows only,@Chillance

soulteary avatar May 26 '23 13:05 soulteary

I was hoping for some update where one can use this in Linux as well. I found other ways in the meantime.

Chillance avatar May 29 '23 20:05 Chillance

@Chillance Can you share this ways please?

tandem97 avatar Sep 16 '23 18:09 tandem97

@tandem97 I'm using CGO with the CPython https://github.com/python/cpython.git library essentially.

Chillance avatar Sep 16 '23 21:09 Chillance