On Wed, Apr 2, 2008 at 6:36 AM, William Stein <[EMAIL PROTECTED]> wrote: [...] > By the way, you can modify sys.path in Sage so that it's possible > to use your existing system-wide Python modules in some cases... [...]
I tried just that, since I want to use Graphviz (http://www.graphviz.org/) through a Python binding (yapgvb). Here's what I've tried so far... sage: import yapgvb Traceback (most recent call last): ... ImportError: No module named yapgvb sage: import sys sage: sys.path.append('/usr/lib/python2.4/site-packages') sage: import yapgvb /usr/lib/python2.4/site-packages/yapgvb/__init__.py:20: RuntimeWarning: Python C API version mismatch for module _yapgvb: This Python has API version 1013, module _yapgvb has version 1012. from _yapgvb import * Any ideas? Best, -- Hector --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---