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
#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


Messages In This Thread
RE: Python IDEs on the Raspberry Pi - by buran - Oct-18-2018, 08:21 PM
RE: Python IDEs on the Raspberry Pi - by wavic - Oct-18-2018, 08:28 PM
RE: Python IDEs on the Raspberry Pi - by buran - Oct-18-2018, 08:42 PM
RE: Python IDEs on the Raspberry Pi - by snippsat - Oct-18-2018, 09:02 PM
RE: Python IDEs on the Raspberry Pi - by microphone_head - Oct-19-2018, 12:00 AM

Forum Jump:

User Panel Messages

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