[SOLVED] Trying to install 'Gmail Backup' but it requires python2.5 - I have python2.8...
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trying to install 'Gmail Backup' but it requires python2.5 - I have python2.8...
Hello:
When I run the install of 'Gmail Backup' (from http://www.gmail-backup.com/download) an error msg appears stating that I must have python2.5 - I presently have python2.8
Is there any way to solve this without destroying my Slackware 13.37 installation?
When I run the install of 'Gmail Backup' (from http://www.gmail-backup.com/download) an error msg appears stating that I must have python2.5 - I presently have python2.8
Is there any way to solve this without destroying my Slackware 13.37 installation?
The zip archive from provided URL contains only optimized bytecode (.pyo) files for Python 2.5, so not much you can do about it, unless there are source files (.py) hidden somewhere (svc package from archive doesn't look like it). Try asking upstream for newer version, though the whole thing seems to be abandoned.
An idea just popped in my head -- if all you want is to backup your Gmail mailbox, you could try offlineimap tool to fetch it via IMAP. I haven't tried offlineimap myself, but it should work.
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
Quote:
What if he edits the gmail-backup.sh and gmail-backup-gui.sh files to from "exec python2.5" to "exec python" and tries again?
This won't work as the .pyo files included will only work with python-2.5 - they have a "magic number" to show what version of python they work with.
I looked a this and noticed the bytecode .pyo files as audriusk mentions. This is a pain as it means you need python 2.5. If you are stuck you could try getting the python source from Slackware 12.2, fixing the python.Slackbuild so it doesn't overwrite the existing python you have then build and install the package. This should then enable to you run these gmail python scripts.
Quote:
Try asking upstream for newer version, though the whole thing seems to be abandoned.
Again, as audriusk mentions, the versions of python involved are now rather old and so I don't know whether it's worth trying to get this running. At any rate you definitely need to keep your existing python version as a lot of applications rely on this.
Edit : Apologies audriusk - we where typing these at the same time!
Last edited by bgeddy; 05-09-2011 at 01:44 PM.
Reason: Ddup[lication
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.