Cannot create an apk file creation with Buildozer 1.5.1.dev0 ((Ubuntu 23.04 and VirtualBox (MacOS))

291 views
Skip to first unread message

Ajk

unread,
Aug 31, 2023, 5:23:53 PM8/31/23
to Kivy users support
Hi Kivy users support,

I been trying to create an apk file from a basic app, but it doesn't work.

Here is the link to the stackoverflow thread

I been reading documentation and watched several tutos, but I can't figure out what the problem is...

Any help/guidance on how to complete this would be more than appreciated.

Thanks

Robert

unread,
Aug 31, 2023, 7:09:43 PM8/31/23
to Kivy users support
> # Cython (cython) not found, please install it.

You did not read the install instructions
https://github.com/kivy/buildozer/blob/master/docs/source/installation.rst

Or by the look of it the quickstart
https://github.com/kivy/buildozer/blob/master/docs/source/quickstart.rst

And more generally read this:
https://github.com/Android-for-Python/Android-for-Python-Users

And don't waste your time watching "tutos".

Ajk

unread,
Sep 5, 2023, 2:43:14 PM9/5/23
to Kivy users support
Already went through all this basic documentation, but it is obviously not working, and this is why I'm here... It seems like the cython installation isnt working thru the command line
pip3 install --user --upgrade Cython==0.29.33 virtualenv # the --user should be removed if you do this in a venv

I get
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
   
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
   
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
   
    See /usr/share/doc/python3.11/README.venv for more information.


Anyone here may help with some more detailed explanation plz

Thx

Robert

unread,
Sep 5, 2023, 5:58:20 PM9/5/23
to Kivy users support
This is a characteristic of Ubuntu 23.04
https://itsfoss.com/externally-managed-environment/

Buildozer is only tested on the LTS version, I don't know if the instructions in that article are sufficient (they may be I just don't know)
Reply all
Reply to author
Forward
0 new messages