You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
finally got windows working -- fixed issues with library path by grabbing include dir which seems more reliable. adds an extra sed to fix generated .c file to do stupid windows __declspec(dllexport).. argh.
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,18 @@ To [install python modules](https://packaging.python.org/tutorials/packaging-pro
33
33
python3 -m pip install --upgrade setuptools wheel
34
34
```
35
35
36
+
### Windows
37
+
38
+
As of version 0.4.0, windows is now better supported, and is passing tests (on at least one developers machine). You may still need to set some environment variables depending on your python installation, but a vanilla standard install is working.
39
+
40
+
Install Python from the main Python distribution: https://www.python.org/downloads/windows/ -- *do not under any circumstances install from the Microsoft Store app!* while that is very convenient, it creates symbolic links to access the python executables, which is incompatible with go exec.Command to run it, despite too many hours of trying to get around that.
41
+
42
+
The standard python install does not create a `python3.exe` which gopy looks for -- follow instructions here:
(just make a copy of python.exe to python3.exe in the relevant installed location).
45
+
46
+
If you get a bunch of errors during linking in the build process, set `LIBDIR` or `GOPY_LIBDIR` to path to python libraries, and `LIBRARY` or `GOPY_PYLIB` to name of python library (e.g., python39 for 3.9).
47
+
36
48
## Community
37
49
38
50
The `go-python` community can be reached out at [[email protected]](mailto:[email protected]) or via the web forum: [go-python group](https://groups.google.com/forum/#!forum/go-python).
0 commit comments