Magneto - python [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Magneto - python [Solved]

Postby raman » Fri Nov 25, 2011 23:33

I don't know if this is bug or not.
magneto is working with python 2.7
We have:
Code: Select all
eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.2

Earlier I switch python to [2] and magneto stop working:
$ magneto
Traceback (most recent call last):
File "/usr/lib/entropy/magneto/", line 90, in <module>
File "/usr/lib/entropy/magneto/", line 60, in _startup
from magneto.gtk.interfaces import Magneto
File "/usr/lib/entropy/magneto/magneto/gtk/", line 18, in <module>
import gtk
ImportError: No module named gtk

So I switch back to version python2.7 and everything start working. Was my mistake to try use newer version of python, or magneto must be change to use new python?
Last edited by raman on Fri Dec 02, 2011 7:14, edited 1 time in total.
Advanced Hen
Posts: 236
Joined: Mon Sep 06, 2010 17:18
Location: Poland

Re: Magneto - python

Postby genfool » Fri Nov 25, 2011 23:58

you are fine, entropy and magneto is built with python 2.7
You now have an option to switch between python for different apps, then switch back to 2.7 for normal use.

iirc entropy will only run from 2.7
Technological Hen
Posts: 342
Joined: Fri Apr 03, 2009 17:56
Location: Albuquerque, NM

Re: Magneto - python

Postby albfneto » Fri Dec 02, 2011 4:15

i have in mind that in Sabayon, Python 3 is experimental and for tests.
many applications are still using python 2.7.
for this,only switch to python3 for testing purposes, and NOT carry the command "python-updater"
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
Sagely Hen
Posts: 1728
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: Magneto - python

Postby raman » Fri Dec 02, 2011 7:14

Thx for replay.
Advanced Hen
Posts: 236
Joined: Mon Sep 06, 2010 17:18
Location: Poland

Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest