Closed MarcScott closed 7 months ago
Cheers @MarcScott !
The thonny-py5mode plugin depends on the JDK install that is not prepared for Raspi and some other architectures (https://github.com/tabreturn/thonny-py5mode/issues/45), I'm afraid this could be the cause.
Can you try "manually" installing py5 and its dependencies in your Thonny to see if thing will work out?
In February I think tabreturn will be back working on the plug-in and I think we can explore this issue better...
Hi @MarcScott could you make it work? The install-jdk library will soon be able to handle Raspis, I'd like to know how it is going for you.
Hi there.
Same error message here while installing in the Raspberry Pi with Raspberry OS. The plugin is also not loading. Looking at the backend.log file, as suggested in the error message, I could find just this error:
ImportError: this version of pandas is incompatible with numpy < 1.20.3
your numpy version is 1.19.5.
Please upgrade numpy to >= 1.20.3 to use this pandas version
I manually upgraded to the newest numpy and installed JDK as @villares suggested, but the error persists. Searching result for numpy
in the Plug-ins Manager reflects the upgrade (numpy 1.25.1), but the backend.log still reports the same error.
Python version is 3.9.2
Cheers @gilfuser, can we try the Raspberry Pi again at some point? I think @claudefalbriard would also be interested, and we could schedule a video chat about it perhaps?
Hi @villares, that would be great!
Let's check our schedules to find out when.
I could do it either this afternoon or later tonight at 9 pm or so (GMT-3). I can also on Friday anytime.
Abraços, Gil
Just to report that yesterday, with @gilfuser , using the newest install-jdk
library to install the JDK, and adding a missing NumPy component, it worked fine on the Raspberry Pi.
UPDATE: Trying to add more details many months after the report...
# Uninstalled and re-installed the install-jdk lib
pip3 uninstall install-jdk
pip3 install install-jdk
# and then ran:
python -c "import jdk; print('Java installed to', jdk.install('17'))"
I'm not sure, but maybe my friend used a newer jdk, like 21 instead of 17... and you should have a look at how to install any missing NumPy components, I'm afraid.
Cheers @MarcScott !
I renamed the issue so it is a bit more descriptive.
As I have managed to make it work on the Raspberry Pi last year with my friend Gil and I haven't heard from you after posting that I'm going to close this, but if you want to chat about it please ping me, and we can also re-open this issue.
Thanks @villares I'll test my end as well, but if it's working for you then happy for this to remain closed. Cheers for all the hard work.
Installed Thonny on both NixOS and on Raspberry Pi OS. After installing thonny-py5mode and restarting Thonny, I get the following error
The p5 mode option does not appear in the menu bar.