# P3D not running in python mode

**URL:** https://discourse.processing.org/t/p3d-not-running-in-python-mode/39282
**Category:** Processing.py
**Created:** [October 15, 2022, 9:49am UTC](https://discourse.processing.org/t/p3d-not-running-in-python-mode/39282 "2022-10-15T09:49:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ishy](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ishy/32/17173_2.png) [@Ishy](https://discourse.processing.org/u/Ishy)
#### Post date: [October 15, 2022, 9:49am UTC](https://discourse.processing.org/t/p3d-not-running-in-python-mode/39282/1 "2022-10-15T09:49:11Z")

</div>

hi, i just started out using processing and i quickly discovered that P3D doesn’t work.  
my code is:

```auto
def setup():
    size(200, 200, P3D)

```

when i click run it just doesnt do anything and stops quickly after (0.5-1 secounds after i click run)

can someone tell me what im doing wrong?

---

<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: [October 15, 2022, 11:09am UTC](https://discourse.processing.org/t/p3d-not-running-in-python-mode/39282/2 "2022-10-15T11:09:06Z")

</div>

Welcome @Ishy

Are you using Processing 4.x or Processing 3.5.4? What are your system details? (Mac/Windows/Linux)

---

<div class="post-metadata">

### Author: ![Ishy](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/ishy/32/17173_2.png) [@Ishy](https://discourse.processing.org/u/Ishy)
#### Post date: [October 15, 2022, 11:14am UTC](https://discourse.processing.org/t/p3d-not-running-in-python-mode/39282/3 "2022-10-15T11:14:25Z")

</div>

im using processing 4.0.1 on windows 10

---

<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: [October 15, 2022, 11:27am UTC](https://discourse.processing.org/t/p3d-not-running-in-python-mode/39282/4 "2022-10-15T11:27:13Z")

</div>

Probably better to run Processing 3.5.4 for Python Mode.
