# How to import python 3.7 into Processing

**URL:** https://discourse.processing.org/t/how-to-import-python-3-7-into-processing/19576
**Category:** Processing.py
**Tags:** homework
**Created:** [April 9, 2020, 11:19am UTC](https://discourse.processing.org/t/how-to-import-python-3-7-into-processing/19576 "2020-04-09T11:19:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Upchanges](https://avatars.discourse-cdn.com/v4/letter/u/839c29/32.png) [@Upchanges](https://discourse.processing.org/u/Upchanges)
#### Post date: [April 9, 2020, 11:19am UTC](https://discourse.processing.org/t/how-to-import-python-3-7-into-processing/19576/1 "2020-04-09T11:19:42Z")

</div>

I think I’m using python 2 for my current Processing app on my Mac.  
I have been trying to import python 3.7 but I couldn’t find out how to do it.  
I would greatly appreciate if someone could help me. Thank you!

 ![Screen Shot 0002-04-09 at 8.19.17 PM](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/0/069c1b337d5e0807bc49f400a4914da12e48af8c.png)

---

<div class="post-metadata">

### Author: ![Upchanges](https://avatars.discourse-cdn.com/v4/letter/u/839c29/32.png) [@Upchanges](https://discourse.processing.org/u/Upchanges)
#### Post date: [April 9, 2020, 12:09pm UTC](https://discourse.processing.org/t/how-to-import-python-3-7-into-processing/19576/2 "2020-04-09T12:09:36Z")

</div>

Could anyone please help me?..

---

<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 9, 2020, 2:15pm UTC](https://discourse.processing.org/t/how-to-import-python-3-7-into-processing/19576/3 "2020-04-09T14:15:37Z")

</div>

Welcome! You’ve installed Python mode but you still need to select it from the drop-down menu.

1. Install (done)  

2. Select Python mode  

3. Check that it’s activated (top right)  

4. Profit  

Check out the [Processing.py tutorials](https://py.processing.org/tutorials/gettingstarted/) for more information.

One tidbit about Python mode is that it’s actually based on an _implementation_ of the Python 2 language called [Jython](https://www.jython.org/).

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [May 9, 2020, 11:12pm UTC](https://discourse.processing.org/t/how-to-import-python-3-7-into-processing/19576/4 "2020-05-09T23:12:05Z")

</div>

> [@Upchanges](#):
>
> I think I’m using python 2 for my current Processing app on my Mac.  
> I have been trying to import python 3.7 but I couldn’t find out how to do it.

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:

> **[GitHub - p5py/p5: p5 is a Python package based on the core ideas of Processing.](https://github.com/p5py/p5)**
>
> p5 is a Python package based on the core ideas of Processing. - GitHub - p5py/p5: p5 is a Python package based on the core ideas of Processing.

Note that it does not run on JVM, so it is not compatible with the Java mode library ecosystem.
