# Problem installing Python mode

**URL:** <https://discourse.processing.org/t/problem-installing-python-mode/44201>\
**Category:** Processing.py\
**Created:** [April 1, 2024, 4:39pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201 "2024-04-01T16:39:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![the.salmone](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@the.salmone](https://discourse.processing.org/u/the.salmone)\
**Post date:** [April 1, 2024, 4:39pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/1 "2024-04-01T16:39:45Z")

</div>

Hi everyone,

I tried installing Python mode via the mod manager in Processing last release but i get “Error during download and installation of Python mode for Processing 4”. It’s already an acknowledged problem or I’m missing something?

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [April 1, 2024, 5:39pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/2 "2024-04-01T17:39:55Z")

</div>

Hi, I’m afraid Processing Python mode is not working on Processing 4 IDE.

People have been using it on Processing 3.5.4, but the project lacks an active maintainer, unfortunately. [Python Mode needs a new project owner](https://discourse.processing.org/t/python-mode-needs-a-new-project-owner/36399)

---

<div class="post-metadata">

**Author:** ![the.salmone](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@the.salmone](https://discourse.processing.org/u/the.salmone)\
**Post date:** [April 1, 2024, 9:01pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/3 "2024-04-01T21:01:02Z")

</div>

oh damn, because i would love to use Processing while using py syntax, i don’t want to spread my time and energy between two different languages for the moment. I’ll try with previous Processing versions then!

---

<div class="post-metadata">

**Author:** ![villares](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/villares/32/3166_2.png) [@villares](https://discourse.processing.org/u/villares)\
**Post date:** [April 1, 2024, 9:43pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/4 "2024-04-01T21:43:51Z")

</div>

Please @the.salmone have a look at these projects that are kind of spiritual successors to Python mode:

- `py5` [https://py5coding.org](https://py5coding.org) Processing 4 Java + Python 3
- `p5py` [p5 — p5 0.8.1 documentation](https://p5.readthedocs.io/en/latest/) Python 3 (no Java required)
- `pyp5js`[pyp5js: drawing with Python 3 | pyp5js](https://berinhard.github.io/pyp5js/) Python on pyodide + p5js
- `Proceso` [https://proceso.cc/](https://proceso.cc/) also Python on pyodide

The one I use most is **py5** 🙂

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [April 1, 2024, 11:13pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/5 "2024-04-01T23:13:04Z")

</div>

> [@villares](#):
>
> `Proceso` [https://Proceso.cc](https://Proceso.cc) also Python on Pyodide

Proceso is a [Pyodide](https://pyodide.org) addon package, but focused more on [PyScript](https://pyscript.net):

> **[PyScript](https://pyscript.com/@gotoloop)**

If PyScript + Pyodide weren’t so hard to debug…  
So my pick is [py5](https://py5coding.org/), even though its installation is more complex:

> [@Py5 loves 3D (P3D, hints, shaders)](https://discourse.processing.org/t/py5-loves-3d-pd3-hints-shaders/43821/2):
>
> Package’s name is “sdf-fork”: pip install sdf-fork pip install trimesh No mention we need to uncomment f.save('out.stl') in order to have the STL file. So I’ve added some code to execute f.save('out.stl') if it doesn’t exist already: “sketch\_2024\_01\_30.py”: """ \* Toon Shading \* \* Example showing the use of a custom lighting shader in order to apply \* a "toon" effect on the scene. Based on the glsl tutorial from lighthouse 3D: \* https://Lighthouse3d.com/tutorials/glsl-tutorial/toon-s…

---

<div class="post-metadata">

**Author:** ![mcintyre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mcintyre/32/14561_2.png) [@mcintyre](https://discourse.processing.org/u/mcintyre)\
**Post date:** [April 2, 2024, 1:09pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/6 "2024-04-02T13:09:43Z")

</div>

@the.salmone +1 for py5. It’s a joy to use. Having the full Processing and Python ecosystems at your disposal while sketching feels like magic sometimes.

proceso mimics most of py5’s API and even borrows py5’s vector implementation. py5’s creator, @hx2A, gave the world a great tool.

We’ve talked at a high level about merging proceso with py5. The web and desktop platforms have different affordances, as do MicroPython/Pyodide and CPython, as do the p5.js and Processing ecosystems. It could be nice to let people move their Python sketches between platforms easily. @hx2A and I are both pretty busy at the moment, and proceso is in a holding pattern until p5.js 2.0 solidifies later this year. One day…

---

<div class="post-metadata">

**Author:** ![mcintyre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/mcintyre/32/14561_2.png) [@mcintyre](https://discourse.processing.org/u/mcintyre)\
**Post date:** [April 2, 2024, 1:22pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/7 "2024-04-02T13:22:44Z")

</div>

@the.salmone can’t believe I forgot, @sampottinger is taking a new approach to sketching in Python called [Sketchingpy](https://sketchingpy.org/)! It’s an ambitious project that draws upon his experience as a data scientist and core contributor to Processing.

---

<div class="post-metadata">

**Author:** ![ProcessingOrg](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/processingorg/32/18341_2.png) [@ProcessingOrg](https://discourse.processing.org/u/ProcessingOrg)\
**Post date:** [April 3, 2024, 2:24pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/8 "2024-04-03T14:24:05Z")

</div>

A fix has been implemented and you should be able to download Python Mode for Processing 3 from the contributions manager. See:

> [@Could not connect to the Processing server to install libraries](https://discourse.processing.org/t/could-not-connect-to-the-processing-server-to-install-libraries/44126/9):
>
> Hello everyone, A fix for the ‘Could not connect to the Processing server’ error in Processing 3 has been implemented and deployed. You should now be able to view and download libraries, tools, and modes from both Processing 3 and 4. We are currently monitoring the results to ensure the issue is fully resolved. Thanks to everyone who reported this problem. Your input has been invaluable in addressing this issue. Please continue to share any feedback or bugs you encounter. Best, The Processi…

---

<div class="post-metadata">

**Author:** ![the.salmone](https://avatars.discourse-cdn.com/v4/letter/t/bc8723/32.png) [@the.salmone](https://discourse.processing.org/u/the.salmone)\
**Post date:** [April 5, 2024, 2:21pm UTC](https://discourse.processing.org/t/problem-installing-python-mode/44201/9 "2024-04-05T14:21:33Z")

</div>

ty everyone! I’m gonna try sketchingpy then, it’s convenient for me because I can try it in pyCharm 😃
