brit000
Posts: 3
Joined: Thu Jul 16, 2020 7:04 am

Downgrade Python 2.7 to 2.6

Thu Jul 16, 2020 7:06 am

I want to downgrade to Python 2.6 Rasbian - but there is no available code online. Anyone can help? Thanks in advance!

dbrion06
Posts: 88
Joined: Tue May 28, 2019 11:57 am

Re: Downgrade Python 2.7 to 2.6

Thu Jul 16, 2020 7:24 am

Source compiling? (I sometimes use it to upgrade: if you do it too often, it can be messy). if you install python-dev, each and every dependency python2.7 needs will be installed.I bet they are the same for python2.6...)
But ... python2 seems getting obsolete. Do you really need to downgrade (a museum, perhaps)?

brit000
Posts: 3
Joined: Thu Jul 16, 2020 7:04 am

Re: Downgrade Python 2.7 to 2.6

Thu Jul 16, 2020 7:44 am

http://wiki.ros.org/ROSberryPi/Installi ... berry%20Pi

this requires 2.6 but i keep getting errors along the way :(

jahboater
Posts: 5759
Joined: Wed Feb 04, 2015 6:38 pm
Location: West Dorset

Re: Downgrade Python 2.7 to 2.6

Thu Jul 16, 2020 7:53 am

https://www.python.org/downloads/release/python-268/

But it sounds like a mad idea, better to get indigo updated.

Building is simply:

./configure
make
sudo make install
Pi4 8GB running PIOS64

fruitoftheloom
Posts: 23336
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Downgrade Python 2.7 to 2.6

Thu Jul 16, 2020 7:54 am

brit000 wrote:
Thu Jul 16, 2020 7:44 am
http://wiki.ros.org/ROSberryPi/Installi ... berry%20Pi

this requires 2.6 but i keep getting errors along the way :(

That page is out of date both Raspbian Wheezy and Jessie are no longer supported.

You need to find a tutorial for Raspbian Buster written within the last 12 months.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Downgrade Python 2.7 to 2.6

Thu Jul 16, 2020 8:00 am

brit000 wrote:
Thu Jul 16, 2020 7:06 am
I want to downgrade to Python 2.6 Rasbian - but there is no available code online. Anyone can help? Thanks in advance!
Why - what doesn't work with the standard python2? If you downgrade python, probably, it still won't work.

BTW, you should be looking at migrating to python3 and writing all new code to use python3 as that will be a better use of your time and effort.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
bensimmo
Posts: 4621
Joined: Sun Dec 28, 2014 3:02 pm
Location: East Yorkshire

Re: Downgrade Python 2.7 to 2.6

Thu Jul 16, 2020 8:27 am

Create a virtual environment and install an old Python.

Or look for a suitable Raspbian OS to install it on http://downloads.raspberrypi.org/raspbian/images/ as it was way back when it was created.

OR
use the link provided on the ROS page for help and answers.

OR
form a brief look around to get some understanding.
Use a new version then the Indigo distribution?
http://wiki.ros.org/ROS/Installation

You'll not get help there because looking at http://wiki.ros.org/Distributions it hit End of Life.

Return to “Python”