# I'm not able to run any code on Processing Python mode

**URL:** https://discourse.processing.org/t/im-not-able-to-run-any-code-on-processing-python-mode/34730
**Category:** Processing.py
**Created:** [January 19, 2022, 2:03pm UTC](https://discourse.processing.org/t/im-not-able-to-run-any-code-on-processing-python-mode/34730 "2022-01-19T14:03:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![noL](https://avatars.discourse-cdn.com/v4/letter/n/8e8cbc/32.png) [@noL](https://discourse.processing.org/u/noL)
#### Post date: [January 19, 2022, 2:03pm UTC](https://discourse.processing.org/t/im-not-able-to-run-any-code-on-processing-python-mode/34730/1 "2022-01-19T14:03:51Z")

</div>

I just installed processing and I can’t run any code. Not even print(‘hello, world!’).  
This error keeps popping up in the console panel. I couldn’t find anybody else who had this issue, can someone please help?

java.lang.NullPointerException  
at jycessing.Runner.runSketchBlocking(Unknown Source)  
at jycessing.mode.run.SketchRunner.lambda$startSketch$3(Unknown Source)  
at java.base/java.lang.Thread.run(Thread.java:833)

---

<div class="post-metadata">

### Author: ![JSGauthier](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jsgauthier/32/9910_2.png) [@JSGauthier](https://discourse.processing.org/u/JSGauthier)
#### Post date: [January 19, 2022, 3:57pm UTC](https://discourse.processing.org/t/im-not-able-to-run-any-code-on-processing-python-mode/34730/2 "2022-01-19T15:57:53Z")

</div>

Hi there,  
Try posting this (and looking for solutions) in the **processing.py** topic forum.  
You may find help there.

> **[Processing.py](https://discourse.processing.org/c/processing-py/9)**
>
> Python language Mode for Processing

---

<div class="post-metadata">

### Author: ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)
#### Post date: [January 19, 2022, 8:19pm UTC](https://discourse.processing.org/t/im-not-able-to-run-any-code-on-processing-python-mode/34730/3 "2022-01-19T20:19:09Z")

</div>

Are you using Processing 4? Right now, there’s no Python Mode support for Processing 4. Use Processing 3.5.4, instead.

---

<div class="post-metadata">

### Author: ![btbamfan1](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@btbamfan1](https://discourse.processing.org/u/btbamfan1)
#### Post date: [January 21, 2022, 12:12am UTC](https://discourse.processing.org/t/im-not-able-to-run-any-code-on-processing-python-mode/34730/4 "2022-01-21T00:12:53Z")

</div>

Yeah im having the same problem, using Processing 4, but just switching to Processing 3.5.4 will work, like the other guy said.

---

<div class="post-metadata">

### Author: ![tabreturn](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tabreturn/32/3697_2.png) [@tabreturn](https://discourse.processing.org/u/tabreturn)
#### Post date: [January 26, 2022, 8:38pm UTC](https://discourse.processing.org/t/im-not-able-to-run-any-code-on-processing-python-mode/34730/5 "2022-01-26T20:38:56Z")

</div>

– UPDATE –

Processing 4.0b4 includes a “Python Mode for Processing 4”. There’ll likely be a few bugs to sort out, so consider this in testing for now.

 ![FJ5dadxakAEZYVJ](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/b/b8b66b908a079044039f6b1939eefd8c55049b56.png)
