I’ve been experimenting with py5. It’s a creative coding framework for Python 3.8 and up – a Python version of Processing – and potentially a new engine for Python Mode in the Processing IDE. Internally, py5 employs Processing’s core libraries via JPype.
I’ll definitely give this a go, it might be worth trying out with graal I found significant performance improvements with my ruby-processing projects. The big plus for me is ability to use numpy etc, which was available in pyprocessing but performance was not great.
Hi! i want to try this version too, I’m running ubuntu 21.04 (i’m new into linux), and i only installed pip3 install py5. Running the test example with the command python3 test.py it gives me the following error
Thanks! i follow your steps and it worked just fine!. I want to collaborate in this project, but as you can see, I struggled to make this worked. Can you give an advice about my setup to work with the source code, and how I should approach this? And thanks again
Right now, the most important thing I need is for people to try py5 and provide feedback.
– so, you can start with that right away! You can log issues and get involved in discussions on the project’s GitHub pages.
For help with py5 sketches, I think it’s okay to post questions here on discourse.processing.org. The admins can even set up a separate py5 category if things grow unwieldy (there’s already one for p5py).
It would also be great if someone was willing to help write tutorials and example code. Right now, that area of the documentation is seriously lacking. I could also use help with the Windows and OSX specific GUI problems listed on Github. In particular, the Special Notes for Mac Users describes numerous problems with Mac computers. I do all of my development work on Linux and know very little about platform-specific GUI programming. All of the bugs I’d like help with are listed on Github with the help wanted tag.
To help out here, you’ll need to familiarise yourself with the workings of GitHub first:
On debian systems I generally use update-alternatives tool to control which jvm I’m using, and on Archlinux there’s archlinux-java, both super convenient when experimenting with different jvms. In fact I find update-alternatives super convenient in my ruby-processing projects for selecting different versions of jruby etc, mind you I never got on with rvm (favoured by many rubyists) which futzes with your system.
Also works for me on RaspberryPI4 (ManjaroArm [64 bit]). However stock manjaroarm distribution python does not come with wheel, which is required for build.
sudo pip install wheel
Further you have to be super-patient if you’ve only got 4G ram, I presume that is something to do with pypy being a memory hog. The Quick Example runs fine from vim.