Issue with python[kivy] Kivy Course - Create Python Games and Mobile Apps

Hello Good morning,

It’s been two weeks since I am trying to complete the Kivy tutorial [ Kivy Course - Create Python Games and Mobile Apps ] Youtube link: Kivy Course - Create Python Games and Mobile Apps - YouTube

I have been repeating these parts
[2:55:11]Principle : Perspective transformation

3:01:21]Perspective transformation

And my results are completely different, see screenshots below

But … The surprising part is when I take the code from the link :
[ CodeWithJonathan - Learn to code today. ]

and run it from the folder it’s working fine.

But when I copy the Code from the main.py file and add it in my vscode, it’s doesn’t work. The result is the same as the screenshots above.

Can anyone help me please,

I am using [ Fedora release 33 (Thirty-Three) ]
Kivy output logs, when running the app,

[INFO ] [Logger ] Record log in /home/peacengell/.kivy/logs/kivy_21-06-29_6.txt
[INFO ] [Kivy ] v2.0.0
[INFO ] [Kivy ] Installed at “/home/peacengell/.local/lib/python3.9/site-packages/kivy/init.py”
[INFO ] [Python ] v3.9.5 (default, May 14 2021, 00:00:00)
[GCC 10.3.1 20210422 (Red Hat 10.3.1-1)]
[INFO ] [Python ] Interpreter at “/usr/bin/python”
[INFO ] [Factory ] 186 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Window ] Provider: sdl2
[INFO ] [GL ] Using the “OpenGL” graphics system
[INFO ] [GL ] Backend used
[INFO ] [GL ] OpenGL version <b’4.6 (Compatibility Profile) Mesa 20.3.5’>
[INFO ] [GL ] OpenGL vendor <b’Intel’>
[INFO ] [GL ] OpenGL renderer <b’Mesa Intel(R) HD Graphics 520 (SKL GT2)’>
[INFO ] [GL ] OpenGL parsed version: 4, 6
[INFO ] [GL ] Shading version <b’4.60’>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <32>
[INFO ] [Window ] auto add sdl2 input provider
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[INFO ] [ProbeSysfs ] device match: /dev/input/event11
[INFO ] [MTD ] Read event from </dev/input/event11>
[INFO ] [Base ] Start application main loop
[WARNING] [MTD ] Unable to open device “/dev/input/event11”. Please ensure you have the appropriate permissions.

I can provide more information if needed.

Thanking you in advance.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.