jdf / Processing.py-Bugs

A home for all bugs and feature requests about Python Mode for the Processing Development Environment.
41 stars 8 forks source link

exception in thread awt-eventqueue-0 java.lang.nosuchmethoderror: java.lang.String processing.app.sketch.getMainProgram() #348

Open Mahamadou29 opened 2 years ago

Mahamadou29 commented 2 years ago

I install the Python mode I wrote a two lines of code: size(500, 500) print('Hello, Word!')

and i got this error: exception in thread awt-eventqueue-0 java.lang.nosuchmethoderror: java.lang.String processing.app.sketch.getMainProgram()

tabreturn commented 2 years ago

Which version of Processing is this? Are you using Processing 4.0 beta 6? I'm aware there's a Python Mode issue with that release. Have you tried Processing 4.0 beta 5? (If that solves the problem, there's likely a fix coming in beta 7)

Otherwise, try version 3.5.4 (which you can download from processing.org)