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

Linux support? #2

Open
Chillance opened this issue May 8, 2023 · 4 comments
Open

Linux support? #2

Chillance opened this issue May 8, 2023 · 4 comments

Comments

@Chillance
Copy link

Chillance commented May 8, 2023

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!

@soulteary
Copy link

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

@Chillance
Copy link
Author

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

@tandem97
Copy link

@Chillance Can you share this ways please?

@Chillance
Copy link
Author

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

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

No branches or pull requests

3 participants