[WARNING]: prerequisites.py is experimental and does not support all prerequisites yet.
[WARNING]: Please report any issues to the python-for-android issue tracker.
[INFO]: Prerequisite homebrew is met
[INFO]: Prerequisite autoconf is met
[INFO]: Prerequisite automake is met
[INFO]: Prerequisite libtool is met
[INFO]: Prerequisite pkg-config is met
[INFO]: Prerequisite cmake is met
[ERROR]: Error: The following formulae are not installed:
openssl@1.1
[ERROR]: Prerequisite openssl is not met
[INFO]: Found JAVA_HOME environment variable, using it
[INFO]: Found a valid JDK at /System/Volumes/Data/Users/xxxxx/Library/Java/JavaVirtualMachines/jdk-17.0.2+8/Contents/Home
[INFO]: Prerequisite JDK is met
[INFO]: No helper available for prerequisite: openssl on macOS
[INFO]: python-for-android can automatically install prerequisite: openssl
Do you want automatically install prerequisite openssl? [y/N] y
[INFO]: Installing OpenSSL ...
Error: openssl@1.1 has been disabled because it is not supported upstream! It was disabled on 2024-10-24.
Traceback (most recent call last):
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/bin/p4a", line 8, in <module>
sys.exit(main())
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/site-packages/pythonforandroid/entrypoints.py", line 17, in main
from pythonforandroid.toolchain import ToolchainCL
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/site-packages/pythonforandroid/toolchain.py", line 25, in <module>
check()
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/site-packages/pythonforandroid/checkdependencies.py", line 69, in check
check_and_install_default_prerequisites()
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/site-packages/pythonforandroid/prerequisites.py", line 404, in check_and_install_default_prerequisites
prerequisite.install()
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/site-packages/pythonforandroid/prerequisites.py", line 60, in install
self.darwin_installer()
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/site-packages/pythonforandroid/prerequisites.py", line 285, in darwin_installer
subprocess.check_output(["brew", "install", self.homebrew_formula_name])
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/xxxxx/xxxxx/mambaforge/envs/ai-3.9/lib/python3.9/subprocess.py", line 528, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['brew', 'install', 'openssl@1.1']' returned non-zero exit status 1.
Checklist
p4a.branch = develop)Versions
Description
when I call:
p4a recipesin my terminal, it first ask me to install a openssl the info like this: (BTW, my python-for-android==2024.1.21)
when I input y to install the openssl, get error: