Installing Python mode with no admin?

Hi All:
I installed Processing.org from a zip file (classroom computer, Windows 11 and I don’t have admin). Next installed Python mode.
When I try to switch to Python mode in the IDE, I get this error message: “cannot start python sketch runner”
Could this be related to the Python location? I had to install Python into a local directory under my account too. I added the Python directory to the path and started Processing from a command prompt.
Suggestions???
Thanks!!!
–amb

1 Like

Hello @amb ,

If you are using the version with the Processing PDE read this:

Requirements:

  • Install Processing 3.5.4
  • Add Python Mode < From the Processing 3.5.4 Contribution manager

Python mode will install in the Documents > Processing folder where your sketches are unless you chose another location.

You may have to do an install first, zip things up and then extract to the correct folders. This is a maybe… without knowing all the details.

And the preferences MUST point to the sketch folder if you are manually extracting:

py5 is actively maintained for future consideration:

:)

2 Likes

Cheers @amb!

As you’ll see from the docs @glv linked, Processing Python mode won’t work with the latest Processing 4 IDE, it is unmaintained, but it should still work with the Processing 3 IDE.

I’d like to stress it does not make use of the Python interpreter you installed, it will use its own special Jython 2.7 interpreter.

I’d also invite you to check out a new blend of Processing and Python, the py5 project that @glv metioned. I’ve been using it in classes along with Thonny IDE, here you’ll find some installation suggestions and a link to a portable version of Thonny with everything preinstalled:

How to install and start using py5 (with Thonny IDE)

2 Likes