Kivy in Python 3.8

77 views
Skip to first unread message

Gaurav Salandri

unread,
May 24, 2020, 9:51:22 AM5/24/20
to Kivy users support
Hi, I recently started to understand kivy and how it can be used. I was able to run all commands in the kivy website to download kivy but this specific command won't work: python -m pip install kivy==1.11.1
(I am running python 3.8)
Please help me!!

Elliot Garbus

unread,
May 24, 2020, 10:49:30 AM5/24/20
to kivy-...@googlegroups.com

Use Python 3.7

Kivy Version 1.11.1 does not support Python 3.8

--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/805d78e1-e448-4c96-b544-e67ce6406d32%40googlegroups.com.

 

Alexander Taylor

unread,
May 24, 2020, 12:31:47 PM5/24/20
to Kivy users support
Kivy *does* support python 3.8, but we don't provide prebuilt wheels for windows with version 1.11.1.

Mark Leong

unread,
May 26, 2020, 7:27:15 PM5/26/20
to Kivy users support
This is from Robert Flatt:-

+++++++++++++++++++++++++++++++++++++++++++++++++
FYI I tried Buildozer and p4a on a fresh install of Ubuntu 20.04
The default Ubuntu Python is 3.8.2

I followed the install instructions :)

I built 32bit, and 64 bit Android apps
I tried Buildozer and p4a
I tried Kivy==1.11.1, Kivy==2.0.0rc1 , and KivyMD (latest) with both Kivy versions
All the builds ran on Android (but I did not try every combination)

So as far as I can tell Focal Fossa is fine for building Kivy apps for Android.

I did not try a Kivy app on Ubuntu 20.04 because I used a VM.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++

I managed to get Kivy 2.0.0rc1 installed in Ubuntu 20.04 (Python 3.8.2).  

I just need to recreate my python virtual environment.

Robert Flatt

unread,
May 26, 2020, 10:09:13 PM5/26/20
to Kivy users support
Perhaps the context of my post was not clear.
My post is about Kivy as used by Buildozer.  (in this case Buildozer is running under Python 3.8 on a VM, and the "install instructions" are for Buildozer)
This does not require Kivy be installed on the Python 3.8 VM, and it wasn't.

My post is also about Kivy executing on Android   (on Android Python 3.8 is used, this is unrelated to the Python version on the desktop)

As Alexander points out Kivy 1.11.1 does work on Python 3.8, (as shown by an Android app).
BUT there is no install wheel for the desktop.

2.0.0rc2 installs on my Python 3.8 Windows machine, I expect it will install on Ubuntu.
And of course this is a pre-release version....
If the rc dependencies are documented, I don't know where.

Elliot's advice Python 3.7 & Kivy 1.11.1 is the safer way to go.


Reply all
Reply to author
Forward
0 new messages