# PythonMode not working. (No display window?)

**URL:** https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106
**Category:** Processing.py
**Created:** [September 5, 2021, 7:22pm UTC](https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106 "2021-09-05T19:22:27Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![palmiye](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@palmiye](https://discourse.processing.org/u/palmiye)
#### Post date: [September 5, 2021, 7:22pm UTC](https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106/1 "2021-09-05T19:22:27Z")

</div>

Hello everybody,

I’m having some big trouble with pythonmode. Run button seems like not working.(Not turning to green when I click on it.) And no display window is appearing. I’m just getting this warning on console, nothing else. (When I select the Python from the java screen in mode selection) ;  
“Users\User\Documents\Processing\modes\PythonMode\formatter\pep8.py:100: FutureWarning: Possible nested set at position 1  
EXTRANEOUS\_WHITESPACE\_REGEX = re.compile(r’[[({] | []}),;:]’)”  
Any help please? Thanks.

---

<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: [September 5, 2021, 7:41pm UTC](https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106/2 "2021-09-05T19:41:03Z")

</div>

Hi, @palmiye!

Are you using perhaps the new Processing 4 IDE?  
Python mode unfortunately is not working yet on Processing 4 ☹

If this is the case, try downloading Processing 3.5.4…

---

<div class="post-metadata">

### Author: ![palmiye](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@palmiye](https://discourse.processing.org/u/palmiye)
#### Post date: [September 5, 2021, 8:49pm UTC](https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106/3 "2021-09-05T20:49:37Z")

</div>

Hi, @villares  
I tried it both of them. Currently, I’m still trying to make it work with 3.5.4 but unfortunately nothing happens…

---

<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: [September 6, 2021, 6:49pm UTC](https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106/4 "2021-09-06T18:49:34Z")

</div>

Oh, sorry to hear that!

Maybe try a fresh sketchbook (or Documents/Processing, depending on you platform)?  
Processing 4 might have changed some configurations.

You could also open an issue at [https://github.com/jdf/Processing.py-Bugs/issues](https://github.com/jdf/Processing.py-Bugs/issues)

---

<div class="post-metadata">

### Author: ![palmiye](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@palmiye](https://discourse.processing.org/u/palmiye)
#### Post date: [September 6, 2021, 7:15pm UTC](https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106/5 "2021-09-06T19:15:13Z")

</div>

I’ve completely deleted everything Documents/processing and roaming/processing, even Java. Freshly downloaded the 3.5.4 again. But no luck… I’ve opened an issue with a different user name. It’s a strange problem for sure. I hope someone with a similar problem will see and help me out.

Thanks.

---

<div class="post-metadata">

### Author: ![Oscar\_Sheen](https://avatars.discourse-cdn.com/v4/letter/o/ce73a5/32.png) [@Oscar\_Sheen](https://discourse.processing.org/u/Oscar_Sheen)
#### Post date: [September 16, 2021, 4:41am UTC](https://discourse.processing.org/t/pythonmode-not-working-no-display-window/32106/6 "2021-09-16T04:41:30Z")

</div>

Hi Palmiye,

Did you manage to solve this issue as I am new and am receiving exactly the same error as you are: “… … EXTRANEOUS\_WHITESPACE\_REGEX … …” ??

I re-installed it and still got the same error message. Thanks in advance.
