Code Monkey home page Code Monkey logo

Comments (8)

gilfuser avatar gilfuser commented on August 26, 2024 1

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

from thonny-py5mode.

MarcScott avatar MarcScott commented on August 26, 2024 1

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.

from thonny-py5mode.

villares avatar villares commented on August 26, 2024

Cheers @MarcScott !

The thonny-py5mode plugin depends on the JDK install that is not prepared for Raspi and some other architectures (#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...

from thonny-py5mode.

villares avatar villares commented on August 26, 2024

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.

from thonny-py5mode.

gilfuser avatar gilfuser commented on August 26, 2024

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

from thonny-py5mode.

villares avatar villares commented on August 26, 2024

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?

from thonny-py5mode.

villares avatar villares commented on August 26, 2024

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...

  • Inside the Thonny Tools > Open System Shell... terminal:
# 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.

from thonny-py5mode.

villares avatar villares commented on August 26, 2024

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.

from thonny-py5mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.