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.