-
Notifications
You must be signed in to change notification settings - Fork 506
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
Not possible to install Buildozer on Ubuntu 24.04 based distros #1859
Comments
In the end I had to choose Linux Mint 21.3 (which is based on Ubuntu 22.04) to make it work. |
Hi, It looks like this may be a new "feature":
On my ubuntu 24.04 system, I am able to do:
If I need to undo, this I delete the Then:
I then get these errors:
So I tried:
which works.
This fails, so I have to:
which fails due to the externally manage environment and so then I find on the web, I can do:
which looks like it is proceeding well. I'll let you know if it finishes. |
Ok, it is still running. I found this concerning the future of externally managed installs: |
My build runs all the way through to me not having a main.py, which seems pretty good for now. |
and rerunning is a success. I can't test it since I am a few weeks from needing to do anything with this. |
This seems to be working for me, with using buildozer in a virtual environment on Ubuntu 24.04 Install System Prerequisites:
Clean up:
Initial build:
And if the build gets interrupted
|
👋 @HeRo002, |
becareful use |
Versions
Description
First I concluded that the install instructions for Buildozer - https://buildozer.readthedocs.io/en/latest/installation.html - are not up to date (not valid) for Ubuntu 24.04 based distros, since the command "pip3 install --user --upgrade buildozer" results in "error: externally-managed-environment".
So instead I entered my venv (virtual environment) and used "pip3 install --upgrade buildozer", which installed Buildozer 1.5.0.
But then the Android specific commands (still in the venv) resulted in:
$ sudo apt update
((All packages are up to date.))
(venv-mint-22) h@hen:/mnt/xxx/mypython/venv-mint-22$ apt install -y git zip unzip openjdk-17-jdk python3-pip autoconf libtool pkg-config zlib1g-dev libncurses5-dev libncursesw5-dev libtinfo5 cmake libffi-dev libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libncurses-dev' instead of 'libncurses5-dev'
Note, selecting 'libncurses-dev' instead of 'libncursesw5-dev'
E: Unable to locate package libtinfo5
So it seems impossible to use Buildozer (and thus Kivy) on Ubuntu 24.04 based distros...
Can anyone confirm this or tell me what I am doing wrong?
I am posting it here, both because I think it's a bug, and because questions on other forums (Google Kivy group and Discord Kivy Android) has led to nothing.
The text was updated successfully, but these errors were encountered: