RickySTARR
Posts: 4
Joined: Tue Jul 01, 2014 12:12 pm

Python IDE

Tue Jul 01, 2014 12:19 pm

Hello, is there a user friendly IDE (or plugin) that I can use to program in Python which will allow setting break points, stepping into the code, having watch windows and locals windows to view the values of variables during execution of the code?
Thanks

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Python IDE

Tue Jul 01, 2014 11:03 pm

It's not something I've ever looked for myself, but I wonder if https://www.google.co.uk/search?q=raspb ... n+debugger will turn up something useful?

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: Python IDE

Wed Jul 02, 2014 6:21 am

PyCharm, but you would have to run it on a PC/laptop as it doesn't run on ARM.

RickySTARR
Posts: 4
Joined: Tue Jul 01, 2014 12:12 pm

Re: Python IDE

Wed Jul 02, 2014 10:53 am

I need it for the Raspberry pi though :(

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Python IDE

Wed Jul 02, 2014 11:00 am

RickySTARR wrote:Hello, is there a user friendly IDE (or plugin) that I can use to program in Python which will allow setting break points, stepping into the code, having watch windows and locals windows to view the values of variables during execution of the code?
Thanks
Try Idle.

RickySTARR
Posts: 4
Joined: Tue Jul 01, 2014 12:12 pm

Re: Python IDE

Wed Jul 02, 2014 2:23 pm

>Ame

You can't set break points and step into the code with IDLE, it's extremely basic.

User avatar
Douglas6
Posts: 4739
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Python IDE

Wed Jul 02, 2014 3:07 pm

RickySTARR wrote:You can't set break points and step into the code with IDLE, it's extremely basic.
Hmmm...you can with mine. (version 3.4.0)

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: Python IDE

Wed Jul 02, 2014 4:51 pm

RickySTARR wrote:I need it for the Raspberry pi though :(
Any more advanced IDE will lag on Raspberry Pi. It's way better to do development remotely. On RPi you could use some code editor (Kate, Gedit) and integrate a debugger within the code (pdb or alike).

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: Python IDE

Wed Jul 02, 2014 11:53 pm

riklaunim wrote:PyCharm, but you would have to run it on a PC/laptop as it doesn't run on ARM.
Just out of curiosity, I tried downloading & running the "Community Edition" of PyCharm on my Raspberry Pi, and it prints:
Error occurred during initialisation of VM
Server VM is only supported on ARMv7+ VFP

So it does run on ARM, just not the ARM in the Raspberry Pi (which is a v6).

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Python IDE

Thu Jul 03, 2014 12:20 am

RickySTARR wrote:>Ame

You can't set break points and step into the code with IDLE, it's extremely basic.
Don't you think if I was wrong, I'd know?

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: Python IDE

Thu Jul 03, 2014 6:13 am

AndrewS wrote:
riklaunim wrote:PyCharm, but you would have to run it on a PC/laptop as it doesn't run on ARM.
Just out of curiosity, I tried downloading & running the "Community Edition" of PyCharm on my Raspberry Pi, and it prints:
Error occurred during initialisation of VM
Server VM is only supported on ARMv7+ VFP

So it does run on ARM, just not the ARM in the Raspberry Pi (which is a v6).
Interesting. Last time I checked it silently crashed just after start on Odroid X2 and there was no official support for ARM. Maybe they fixed it. Will have to check.

RickySTARR
Posts: 4
Joined: Tue Jul 01, 2014 12:12 pm

Re: Python IDE

Thu Jul 03, 2014 7:17 am

ame wrote:by ame » Thu Jul 03, 2014 12:20 am



RickySTARR wrote:>Ame

You can't set break points and step into the code with IDLE, it's extremely basic.


Don't you think if I was wrong, I'd know?
Can you tell me how pls?

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Python IDE

Thu Jul 03, 2014 7:42 am

Here's a tutorial with screen shots. There are others (Google is your friend).
http://www.cs.uky.edu/~paulp/CS115F11/n ... debug.html

slipstream42
Posts: 7
Joined: Sat Jun 02, 2018 1:55 pm

Re: Python IDE

Sun Aug 18, 2019 7:53 pm

i am currently running pycharm on a raspberry pi 4B with 4gb of ram and so far i have not installed oracle jdk 8 and pycharm seems to be ok with open jdk. if i run into trouble i will update this post.

oh it is really nice to have pycharm on the pi 4B. i did not ever put pycharm on a pi 3B+ because it it only had 1 gb of ram

Pycharm Install Steps:

- download pycharm for linux to your Pi 4B
from https://www.jetbrains.com/pycharm/download/other.html
- put the pycharm-community-2019.2.tar.gz file in the dir where you want to install pycharm
- unzip, untar pycharm
> tar xvzf pycharm-community-2019.2.tar.gz
i did this in /home/pi and now have a /home/pi/pycharm-community-2019.2 dir
- see pycharm Install-Linux-tar.txt in the root dir of download
- to run pycharm invoke pycharm.sh
> /home/pi/pycharm-community-2019.2/bin/pycharm.sh
- edit .bashrc to add alias to start pycharm
alias pcm='/home/pi/pycharm-community-2019.2/bin/pycharm.sh'
- exported pycharm keymap on win10 box sent it rpi 4b
import settings and select file

Return to “Python”