kivy on android termux critical window in xfce4 desktop

298 views
Skip to first unread message

Degenerate Tech

unread,
Mar 20, 2021, 3:37:17 PM3/20/21
to Kivy users support
just for fun i have installed  termux in android 8 and xfce4 deskop and a vnc viewer 
by which i can run some gui programs
in this desktop python tkinter running well .
i am  installing kivy via pip3 so it is done but window is critical 

i have seen there is sdl2,sdl2-ttf.sdl2-mixer etc in termux pkg manager .so i have installed in it ...

is there any way to solve this problem ?





Desktop $ pip3 install kivy
Collecting kivy
  Using cached Kivy-2.0.0-cp39-cp39-linux_aarch64.whl
Requirement already satisfied: pygments in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from kivy) (2.8.1)
Requirement already satisfied: Kivy-Garden>=0.1.4 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from kivy) (0.1.4)
Requirement already satisfied: docutils in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from kivy) (0.16)
Requirement already satisfied: requests in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from Kivy-Garden>=0.1.4->kivy) (2.25.1)
Requirement already satisfied: idna<3,>=2.5 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (2.10)
Requirement already satisfied: chardet<5,>=3.0.2 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in /data/data/com.termux/files/usr/lib/python3.9/site-packages (from requests->Kivy-Garden>=0.1.4->kivy) (2020.12.5)
Installing collected packages: kivy
Successfully installed kivy-2.0.0
~/Desktop $ python main.py
[INFO   ] [Logger      ] Record log in /data/data/com.termux/files/home/.kivy/logs/kivy_21-03-21_6.txt
[INFO   ] [Kivy        ] v2.0.0
[INFO   ] [Kivy        ] Installed at "/data/data/com.termux/files/usr/lib/python3.9/site-packages/kivy/__init__.py"
[INFO   ] [Python      ] v3.9.2 (default, Feb 22 2021, 12:26:04) 
[INFO   ] [Python      ] Interpreter at "/data/data/com.termux/files/usr/bin/python"
[INFO   ] [Factory     ] 186 symbols loaded
[INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.3.2
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_pil, img_ffpyplayer (img_pygame ignored)
[INFO   ] [Text        ] Provider: pil(['text_pygame'] ignored)
[CRITICAL] [Window      ] Unable to find any valuable Window provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes

[CRITICAL] [App         ] Unable to get a Window, abort.
~/Desktop $  

Mr. Mog

unread,
Mar 23, 2021, 3:21:58 AM3/23/21
to kivy-...@googlegroups.com
If you want to run kivy directly on android, the simplest is installing pydroid (which I use). With pydroid kivy is installed.

--
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/8cb0e2f7-e32e-40b2-9c13-2483ba262f7do%40googlegroups.com.

Degenerate Tech

unread,
Mar 23, 2021, 3:33:31 AM3/23/21
to Kivy users support
yes I know but ..I want know to what is the problem. ..turmux provide sdl2 and xfce4 desktop environment tkinter working well ...I am very interested to know why the  problem is

You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/MPJsu3lzkDw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/CAGpYEyxjPvsffnfBOQYi3%3DGF57jKKCqHbiChqw5HCzS57xdgAA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages