# Trouble with python mode

**URL:** <https://discourse.processing.org/t/trouble-with-python-mode/1673>\
**Category:** Processing.py\
**Created:** [July 11, 2018, 12:43am UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673 "2018-07-11T00:43:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kylehughesm](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kylehughesm](https://discourse.processing.org/u/kylehughesm)\
**Post date:** [July 11, 2018, 12:43am UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673/1 "2018-07-11T00:43:18Z")

</div>

I installed python mode but when I click on python in the dropdown, an error window appears  
Title: Python mode Error  
Meassage: Cannot start python sketch runner.  
I’m fairly new to programming and processing, I’ve done several p5.js sketches and have been writing a lot of python programs.  
I’ve googled the error and tried uninstalling and reinstalling and I just can’t seem to get python mode to work…

---

<div class="post-metadata">

**Author:** ![kylehughesm](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kylehughesm](https://discourse.processing.org/u/kylehughesm)\
**Post date:** [July 11, 2018, 2:06am UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673/2 "2018-07-11T02:06:26Z")

</div>

I should add that processing completely closed when this happens…

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [July 11, 2018, 1:30pm UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673/3 "2018-07-11T13:30:23Z")

</div>

What instructions did you follow? Did you install python in your system? Also, what is your OS?

Kf

---

<div class="post-metadata">

**Author:** ![kylehughesm](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kylehughesm](https://discourse.processing.org/u/kylehughesm)\
**Post date:** [July 11, 2018, 7:25pm UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673/4 "2018-07-11T19:25:41Z")

</div>

I followed the instructions on the github page for processing.py in the readme file.

> **[jdf/processing.py](https://github.com/jdf/processing.py#python-mode-for-processing)**
>
> Write Processing sketches in Python. Contribute to jdf/processing.py development by creating an account on GitHub.

  
I am running on Ubuntu 16…which has python installed already, I can run python 2.7 or 3.5

---

<div class="post-metadata">

**Author:** ![kylehughesm](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kylehughesm](https://discourse.processing.org/u/kylehughesm)\
**Post date:** [July 12, 2018, 6:32pm UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673/5 "2018-07-12T18:32:44Z")

</div>

Ok, I think it has something to do with the java not python, when processing starts there is a message saying not fond of this java. I tried copying an example from the getting started page, to run a sketch in the default java mode and a bunch of errors were popping up…my internet is not reliable where I am right now so I will have to wait until next week when I get back home and try getting a different version of java

---

<div class="post-metadata">

**Author:** ![dan850](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@dan850](https://discourse.processing.org/u/dan850)\
**Post date:** [July 13, 2018, 1:08am UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673/6 "2018-07-13T01:08:10Z")

</div>

Keep us posted. i’m sure we will figure this out: - )

---

<div class="post-metadata">

**Author:** ![kylehughesm](https://avatars.discourse-cdn.com/v4/letter/k/e47c2d/32.png) [@kylehughesm](https://discourse.processing.org/u/kylehughesm)\
**Post date:** [July 22, 2018, 11:43am UTC](https://discourse.processing.org/t/trouble-with-python-mode/1673/7 "2018-07-22T11:43:20Z")

</div>

Ok, I have a not so exciting update… I made sure I had the right version of java installed, and the not so fond of this java error went away but all the other problems remained. Still could not run any sketches in java or python.  
I had already tried deleting processing and re-extracting the files and starting over in case I set something up wrong, so instead I tried downloading the 64-bit version instead of the 32.  
Either something went wrong on the first download of processing, my computer doesn’t like the 32 bit version, or I was just doing something wrong that I don’t realize.  
After extracting the 64-bit version everything is working fine. I’ve run a couple of examples in both java and python mode.
