Re: dpi - mal wieder ;)
Jochen Schulz:
[...]
>$ ls -l /etc/alternatives/py2.3gtk.py
>/etc/alternatives/py2.3gtk.py ->
>/usr/lib/python2.3/site-packages/pygtk.py.python2.3-gtk2
Habe ich jetzt auch, nachdem ich update-alternatives durchgeführt hatte,
wie Andreas es vorgeschlagen hatte und es dann wieder rückgängig gemacht
habe.
>Probier doch mal in einer interaktiven Python-Session:
>$ python
>>>> import pygtk
>>>> pygtk.__file__
>'/usr/lib/python2.3/site-packages/pygtk.pyc'
hafi@t900:~$ python
Python 2.3.5 (#2, May 29 2005, 00:34:43)
[GCC 3.3.6 (Debian 1:3.3.6-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: No module named pygtk
Das war der ursprüngliche Stand, bevor ich mit update-alternatives
gespielt hatte. Jetzt sieht es so aus:
Python 2.3.5 (#2, May 29 2005, 00:34:43)
[GCC 3.3.6 (Debian 1:3.3.6-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>>
Aber jetzt werde ich wohl doch mal gentoo booten und mir das dortige
icepref noch mal ansehen.
Hartmut
Reply to: