Python Forum
Python IDEs on the Raspberry Pi
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python IDEs on the Raspberry Pi
#1
Greetings,

I would like to hear from members that have user experience of Python IDEs on the Raspberry Pi. I have particular interest in learning about Python IDEs with code completion on the Raspberry Pi.

Ideally the Python IDE should provide a good coding environment with code completion Pray .

I've installed a few IDEs with mixed results Wall , so I thought I would try and touch base with other Python members to see if I could find out more.
Reply
#2
(Oct-18-2018, 08:07 PM)microphone_head Wrote: I've installed a few IDEs with mixed results
which IDEs did you try?
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
Try this
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#4
I've tried a few Wall like:

Eric Python
Spyder
Ninja
Geany
gEcrit

I loved the Eric Python IDE because of all the extra bells and whistles but I couldn't get the API autocomplete to work Wall, that was a deal breaker for me. I got Ninja to work with autocomplete but i didn't come with code analysis for redundant variables.
Reply
#5
didn't try it, but check this one: https://code.headmelted.com/#platforms
As it states: Community builds of VS Code for Chromebooks, Raspberry Pi and other ARM and Intel systems

And VS Code is definitely worth a try - very good IDE
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#6
Mu is now popular for Raspberry Pi.
As mention VS Code look at VS Code from start
Reply
#7
(Oct-18-2018, 09:02 PM)snippsat Wrote: Mu is now popular for Raspberry Pi.
As mention VS Code look at VS Code from start

I just to tried to install Mu, looked at the website and went through the install procedure, but I don't think the first portion of the installation worked properly because the website instructions suggested a new short-cut icon would be created on my [Preference] menu bar but it didn't happen Sad. Followed the alternate instruction of installing from the command line but Huh it returned with the following warning:

Error:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package mu-editor

(Oct-18-2018, 09:02 PM)snippsat Wrote: Mu is now popular for Raspberry Pi.
As mention VS Code look at VS Code from start

This is a wierd one.

I tried to install Visual Studio Code on my Raspberry Pi 2+B.

First I visited the website:
https://code.headmelted.com/#platforms

Followed the APT instructions for Debain, by opening a terminal and entering:
wget -O - https://code.headmelted.com/installers/apt.sh

It came back saying everthing had installed OK, Think and that a short-cut should be available:
Output:
--2018-10-19 01:14:05-- https://code.headmelted.com/installers/apt.sh Resolving code.headmelted.com (code.headmelted.com)... 104.27.187.80, 104.27.186.80, 2606:4700:30::681b:ba50, ... Connecting to code.headmelted.com (code.headmelted.com)|104.27.187.80|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-sh] Saving to: ‘STDOUT’ - [<=> ] 0 --.-KB/s #!/bin/sh echo "Detecting architecture..."; MACHINE_MTYPE="$(uname -m)"; ARCH="${MACHINE_MTYPE}"; REPO_VENDOR="headmelted"; echo "Ensuring curl is installed"; apt-get install -y curl; if [ "$ARCH" = "amd64" ] || [ "$ARCH" = "i386" ]; then REPO_VENDOR="microsoft"; fi; echo "Architecture detected as $ARCH..."; if [ "${REPO_VENDOR}" = "headmelted" ]; then gpg_key=https://packagecloud.io/headmelted/codebuilds/gpgkey; repo_name="stretch"; repo_entry="deb https://packagecloud.io/headmelted/codebuilds/debian/ ${repo_name} main"; code_executable_name="code-oss"; else gpg_key=https://packages.microsoft.com/keys/microsoft.asc; repo_name="stable" repo_entry="deb https://packages.microsoft.com/repos/vscode ${repo_name} main"; code_executable_name="code-insiders"; fi; echo "Retrieving GPG key [${REPO_VENDOR}] ($gpg_key)..."; curl $gpg_key | gpg --dearmor > /etc/apt/trusted.gpg.d/${REPO_VENDOR}_vscode.gpg; echo "Removing any previous entry to headmelted repository"; rm -rf /etc/apt/sources.list.d/headmelted_codebuilds.list; rm -rf /etc/apt/sources.list.d/codebuilds.list; echo "Installing [${REPO_VENDOR}] repository..."; echo "${repo_entry}" > /etc/apt/sources.list.d/${REPO_VENDOR}_vscode.list; echo "Updating APT cache..." apt-get update -yq; echo "Done!" if [ $? -eq 0 ]; then echo "Repository install complete."; else echo "Repository install failed."; exit 1; fi; echo "Installing Visual Studio Code from [${repo_name}]..."; apt-get install -t ${repo_name} -y ${code_executable_name}; #apt-get install -t ${repo_name} -y --allow-unauthenticated ${code_executable_name}; if [ $? -eq 0 ]; then echo "Visual Studio Code install complete."; else echo "Visual Studio Code install failed."; exit 1; fi; echo "Installing git..."; apt-get install -y git; if [ $? -eq 0 ]; then echo "git install complete."; else echo "git install failed."; exit 1; fi; echo "Installing any dependencies that may have been missed..."; apt-get install -y -f; if [ $? -eq 0 ]; then echo "Missed dependency install complete."; else echo "Missed dependency install failed."; exit 1; fi; echo " Installation complete! You can start code at any time by calling \"${code_executable_name}\" within a terminal. A shortcut should also now be available in your desktop menus (depending on your distribution). "; - [ <=> ] 2.29K --.-KB/s in 0.002s 2018-10-19 01:14:06 (1.24 MB/s) - written to stdout [2349]
I checked to see if pip was installed but that looks good Wall :
Output:
pi@raspberrypi ~ $ python -V Python 2.7.9 pi@raspberrypi ~ $ python3 -V Python 3.4.2 pi@raspberrypi ~ $ pip -V pip 1.5.6 from /usr/lib/python2.7/dist-packages (python 2.7)
Reply
#8
RE: SPE (Stani's Python Editor)

I installed this IDE, its pretty good, looks a bit like Geany. Its got all the elements I would like to see but I think the developer needs to put some more work into it. The code completion is there (90%, doesn't seem to have any completion for local routine), And it even has a code checker.

Works on small programs, but I tried it on one of my projects and it said it had an invalid syntax (reslulting in the user being returned to the console with an exception). But when I use the default python IDE it works with no errors Snooty .

I tried using the Find & Replace and I was surprised to see that it didn't work Doh (maybe I need to invest more time to configure it for that feature to work, not sure).
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020