>> I've tried to import both sage and pygtk without success, both in
>> python and sage console. Please tell me if you can achieve this. I
>> guess you have to install the module within sage, even if it is
>> installed in the system, but outside sage.
>>     

The same here :

#! /usr/bin/sage -python
# -*- coding: utf8 -*-

from sage.all import *
import sys                        # sys n'est utilisé que pour la partie Qt.
from PyQt4 import QtCore, QtGui


produces :

Traceback (most recent call last):
  File "./sagess.py", line 6, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: No module named PyQt4

...
well. Good to know.



Laurent



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to