-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
conf-python-3 + Cygwin(mingw64) + opam 2.2.x = "python3: command not found" #26434
Comments
I suspect one possible reason may be that |
I know nothing about windows, and would not be able to test anything related to it. If you have a suggestion to fix this package, it is welcome and others will review it. |
This doesn't have an easy solution, I'm afraid. There are two parts to it:
|
Ugly workaround for Windows compilation using github actions
First shows python version 3.9.13 (windows), then 3.9.16 (cygwin). May it helps someone. |
If, after removing any python3.exe in Windows' PATH, I try
opam install conf-python-3
with the mingw64 compilers, either from a full-fledged Cygwin environment, or from a Windows opam with its own copy of Cygwin (underC:\Users\...\AppData\Local\opam\.cygwin\root
), then Cygwinpython3
installs successfully, but then opam fails with:By contrast, if I install Windows (not Cygwin) Python 3.x "by hand", then
opam install conf-python-3
succeeds. But that may not be the result I want, because if I then install an opam package such asz3.4.8.5-1
, it fails to compile because of directory separators:\
with Windows Python, but I expect Cygwin/
because I expect to compilez3.4.8.5-1
with the Cygwin mingw64 compilers.Is this related to #26130 ? Thank you in advance @UnixJunkie , @dra27 for clarifying!
Output of
opam var os
:win32
Output of
opam var os-distribution
:cygwin
Output of
opam config report
:The text was updated successfully, but these errors were encountered: