Closed adamsfour closed 1 year ago
I figured a way to see error log[ ErrorLog.txt
Some logs kivy_23-02-10_3.txt
Sorry another data point. Did a clean install of OS, ran the extra script you mention in a closed issue (python - m pip ) then ran install. No change.
I'm looking into this at the moment but I'm not having much luck I'm afraid. It looks like something has changed with Kivy and/or Raspberry Pi OS that is preventing Kivy from compiling correctly
Okay. I did try install without taking OS upgrade but made no difference. Do we think it’s isolated to PI 3B or would I get same result on PI 4B. Not my first choice but could purchase a PI 4 if only way forward. Will stand by
Would reverting to an older version of buster OS resolve the problem. I found earlier versions.
I think this is only Pi3 related. You could definitely try an older version of Buster. It might help isolate the issue. I'll keep working on finding a fix for the Pi3, no need to get a Pi4 right now
Tried 4-4-2022 buster build. Same error.
Also tired 12-02-2021 build which gave me the same error. Thanks for your help
Can you try running this command:
python3 -m pip install https://kivy.org/downloads/2.1.0/Kivy-2.1.0.tar.gz
If it works, it will take a while to compile
Yes, I will report back once completed. I assume you want me to 1) run Python3 script and then follow by Curl script
Yes, if the command I shared completes, then try the curl command again
Sorry no luck. I have attached the screen dump and the error log. Hope this helps kivy_23-02-12_3.txt ErrorLog.txt
Ah, have you run the curl script at all on the current Raspberry Pi OS build you have your SD card? The curl script installs a bunch of dependencies that are required for the Python command I shared to run successfully.
If you haven't, run the curl script now. Let it get to the point that it errors (the dependencies will have been installed) and then run the Python command again
will do stand by
How long should it run. Been running now for about 10 min. no errors
I afraid still no luck. Kivy did finally install. Steps I followed Clean install of OS on SD card Ran Curl command first Ran Kivy install ScreendumpKivyInstall.txt
Ran Curl command again ScreenDumpcurl.txt
I was looking at closed cases to see if this had ever happen before. If you look at closed case #61. He had a similar issue. somehow he was able to get it to install. I know ultimately he had other issues but it does appear he was able to get it to work. It appears he using a PI 3 b+ vs me using a PI 3 b. thanks
Sorry, I made a silly mistake in the Python command I shared. It installed v2.1.0 of Kivy, while the curl
script tries to install v2.0.0. The curl
script tries to overwrite the existing version, hence why it failed again. Run this command (it will take a long time to compile again)
python3 -m pip install https://kivy.org/downloads/2.0.0/Kivy-2.0.0.tar.gz
and then run the curl
script for the last time. Hopefully this time it'll work. If not we know v2.1.0 installs so I might just have to bump the version number in the curl
install script
no problem. I will give it a shot. I always go back and re-image the SD card first so I know I am starting with a clean build. Will report back once completed
Ok, make sure you run the curl
script first before the python
command on the clean build
yep
Sorry but failed again. See screen dump. As mentioned I re-imaged SD card, re-ran Curl first then install. Failed withing a couple of minutes
This is annoying! It looks like I need to bump the version number as something has gone awry with v2.0.0. Can you trying running this command (no need for a clean install):
python3 -m pip install https://github.com/kivy/kivy/archive/2.1.0.zip
If that installs we have a solution. Don't try and run the curl
script afterwards. I will need to bump the version number in the Github repo first
I kick off the script before I had to run out for a few hours. Yesterday I actually had to restart the install as it seem to stall after about two hours
Also second time I ran it I increased swap space
Sorry for the delayed responds. Let me know when you have the new script ready and I will give it a shot
The install worked find for the new version Kivy. Screen dump attached ScreenDumpKivyinstall.txt
OK, I've bumped the version number in the curl
script. Can you run it and let me know whether everything completes and you're able to start the console
Will do. Just started script
Bingo, Up and running perfectly. Thanks for the help
Brilliant, glad we got to the bottom of it
Attempting to install on pi3 see screenshot for the error I received.