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

The following actions failed │ λ build conf-python-2-7 1.2 #2420

Closed
Chaos-Crypto opened this issue Dec 31, 2021 · 7 comments
Closed

The following actions failed │ λ build conf-python-2-7 1.2 #2420

Chaos-Crypto opened this issue Dec 31, 2021 · 7 comments

Comments

@Chaos-Crypto
Copy link

Chaos-Crypto commented Dec 31, 2021

Hello, when I run the following command,it occur some error, could you give me some suggests?

$ opam pin add fstar --dev-repo
[NOTE] Package fstar is already pinned to git://github.com/FStarLang/FStar (version 2021.12.31dev).
[fstar.2021.12.31
dev] no changes from git://github.com/FStarLang/FStar
fstar is now pinned to git://github.com/FStarLang/FStar (version 2021.12.31~dev)

The following actions will be performed:
∗ install conf-python-2-7 1.2 [required by z3]
∗ install z3 4.8.5 [required by fstar]
∗ install fstar 2021.12.31~dev*
===== ∗ 3 =====
Do you want to continue? [Y/n] y

[z3.4.8.5] downloaded from https://github.com/Z3Prover/z3/archive/Z3-4.8.5.tar.gz

[ERROR] The compilation of conf-python-2-7 failed at "dash.exe -ec python2.7 test.py".

#=== ERROR while compiling conf-python-2-7.1.2 ================================#

context 2.0.8 | win32/x86_64 | ocaml-variants.4.12.0+mingw64c | git://github.com/fdopen/opam-repository-ming

w.git#opam2

path ~/.opam/ocaml-variants.4.12.0+mingw64c/.opam-switch/build/conf-python-2-7.1.2

command dash.exe -ec python2.7 test.py

exit-code 127

env-file ~/.opam/log/conf-python-2-7-20960-1872ec.env

output-file ~/.opam/log/conf-python-2-7-20960-1872ec.out

output

dash: 1: python2.7: not found

<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

┌─ The following actions failed
│ λ build conf-python-2-7 1.2
└─
╶─ No changes have been performed
[NOTE] Pinning command successful, but your installed packages may be out of sync.

@tahina-pro
Copy link
Member

tahina-pro commented Jan 10, 2022

It seems that a system package required by conf-python-2-7 is absent. To know which one, I'd suggest using depext following https://fdopen.github.io/opam-repository-mingw/depext-cygwin/

@tahina-pro
Copy link
Member

In fact, you need to install Python 2.7 via Cygwin (you need to use Cygwin Python, not Windows Python), it seems that depext does not detect that missing package.

@Chaos-Crypto
Copy link
Author

Could you help me to give some concrete steps?

@SwampertX
Copy link

Having the same problem while installing via OPAM. However, I found that z3>=4.8.13 (latest is 4.11.2) would no longer need the deprecated Python 2.7 and uses Python 3 instead. I see that the version is intentionally pinned; any chance we could bump it?

@SwampertX
Copy link

Related: #2431

@ncihnegn
Copy link

Nowadays macOS does not come with python2.

@gebner
Copy link
Contributor

gebner commented Sep 14, 2024

This should be fixed by #3069

@gebner gebner closed this as completed Sep 14, 2024
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

5 participants