DataDog / go-python3

Go bindings to the CPython-3 API
MIT License
376 stars 140 forks source link

run on windows #45

Closed umutozgur closed 3 years ago

umutozgur commented 3 years ago

Describe what happened: how to run on windows

Describe what you expected:

I am waiting to run python codes in go project via windows 10. Steps to reproduce the issue:

I can't compile on windows 10. What are package dependencies?

christian-korneck commented 3 years ago

@umutozgur I've posted a simple windows example for go-python3 some time ago here. Does this help?

(If you're looking for automation, some parts of it are also in this github actions demo. It's using Python3 directly from Go, without go-python3, but might be useful for how to run the Python installer unattended, etc).

christian-korneck commented 3 years ago

I've just created a quick github actions demo project that builds a simple Windows executable with go-python3. If you like you can fork it, run it on your github account and compare it with your setup.

umutozgur commented 3 years ago

i solved problem. install anaconda create env with conda on command-line env activate on command-line conda install tesserocr