Logic Error
Posts: 10
Joined: Mon Apr 01, 2019 7:47 pm

How to access older versions of programs

Fri Sep 06, 2019 7:06 am

3 versions of python came with my rasbpian, but only the newest version appears in the program menu. I have module which is only compatible with, and has been installed to, python 2 however I can't find that IDLE for 2.7

User avatar
neilgl
Posts: 2226
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: How to access older versions of programs

Fri Sep 06, 2019 9:34 am

Maybe open a terminal (or login via ssh using putty). On my pizero (Raspbian stretch lite headless) this gets me python 2 or 3:

Code: Select all

pi@pizero:~ $ python
Python 2.7.13 (default, Sep 26 2018, 18:42:22)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
pi@pizero:~ $ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
I don't use IDLE.

Logic Error
Posts: 10
Joined: Mon Apr 01, 2019 7:47 pm

Re: How to access older versions of programs

Sat Sep 07, 2019 12:32 pm

I'm able to do that, that's how I know it's definitely installed, but I need to use the IDLE ideally

User avatar
neilgl
Posts: 2226
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: How to access older versions of programs

Sat Sep 07, 2019 12:44 pm

On a pi3 running stretch, thanks to @DirkS:
Menu / Preferences / Main Menu Editor.
In the editor dialog select 'Programming' and enable (tick mark) 'Python 2 (IDLE)

BUT as python2 will be dropped from Debian (and hence Raspbian) soon, I would move to python3.

Logic Error
Posts: 10
Joined: Mon Apr 01, 2019 7:47 pm

Re: How to access older versions of programs

Sat Sep 07, 2019 9:22 pm

neilgl wrote:
Sat Sep 07, 2019 12:44 pm
On a pi3 running stretch, thanks to @DirkS:
Menu / Preferences / Main Menu Editor.
In the editor dialog select 'Programming' and enable (tick mark) 'Python 2 (IDLE)

BUT as python2 will be dropped from Debian (and hence Raspbian) soon, I would move to python3.
Thx I'll try it
I usually use python 3, but the module I need isn't compatible with it

User avatar
neilgl
Posts: 2226
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: How to access older versions of programs

Sat Sep 07, 2019 9:32 pm

Which module is it?

Logic Error
Posts: 10
Joined: Mon Apr 01, 2019 7:47 pm

Re: How to access older versions of programs

Mon Sep 09, 2019 7:53 pm

neilgl wrote:
Sat Sep 07, 2019 9:32 pm
Which module is it?
MIDI

User avatar
neilgl
Posts: 2226
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: How to access older versions of programs

Mon Sep 09, 2019 8:16 pm

Ok do you know exactly what MIDI module it is, as there are several that work with python3 ?
Or can you post the code?

Return to “Beginners”