I think I’m using python 2 for my current Processing app on my Mac.
I have been trying to import python 3.7 but I couldn’t find out how to do it.
I would greatly appreciate if someone could help me. Thank you!
1 Like
Could anyone please help me?..
Welcome! You’ve installed Python mode but you still need to select it from the drop-down menu.
-
Install (done)
-
Select Python mode
-
Check that it’s activated (top right)
-
Profit
Check out the Processing.py tutorials for more information.
One tidbit about Python mode is that it’s actually based on an implementation of the Python 2 language called Jython.
3 Likes
The Python mode that runs in PDE must be 2.7. It cannot run 3.x due to limitations in its interpreter, Jython.
If you want a Processing-like experience with full Python 3.x compatability outside PDE, try using p5py:
Note that it does not run on JVM, so it is not compatible with the Java mode library ecosystem.
2 Likes