4.5.6 Python Mode Error

Hi all,

I’ve had issues using Python mode since the most recent update. Version 3 does not link to the server anymore to to fetch Python mode, and Version 4.5.6 yields this error upon swapping to Python Mode for 4 (image attached)

I can use 4.3.4 but that version does not provide error feedback; it just will run a blank canvas without console output if there is any error in the code.

Any help? Thanks in advance.

Hi @Kiyoshimon,

We recently migrated the Processing web infrastructure to handle increased traffic from bots and scrapers. It looks like this has affected the Contribution Manager in Processing 3.5.4. We’re looking into the issue.

In the meantime, you can download and install Python Mode for Processing 3 directly from:

https://contribs.processing.org/pythonmode/3/PythonMode.zip

You can also find direct download links for other libraries and modes here:

https://github.com/processing/processing-contributions/blob/main/contributions.yaml

I also made this page as a workaround: https://sableraf.github.io/processing-contributions-explorer-web/ It’s not a perfect replacement, but it should at least make it easier to find and download libraries and modes if the contribution manager doesn’t work.

Best,
Raphaël

I can use 4.3.4 but that version does not provide error feedback; it just will run a blank canvas without console output if there is any error in the code.

It could be worth confirming to you that Python Mode doesn’t really work on Processing 4.X, and I’d add that as it is an unmaintained project, it probably will never be fixed.

I’ve been using https://py5coding.org as replacement for years now, and for teaching I’ve been using a setup with py5 + Thonny IDE

And I have a custom PowerShell script to install that combo (requires a installed Python 3.10+):
irm 'https://Gist.GitHubUserContent.com/GoToLoop/246a31d437aaa8c6eadb7f7186544e0f/raw/thonny-installer.ps1' | iex