Ask Your Question

How to import 3rd party modules into SAGE?

asked 2013-01-31 07:38:17 +0200

anonymous user


In SAGE, I can import math or numpy from within a script, but I'm unable to import stuff located in, for example, /usr/lib/python2.7/dist-packages/. How could I fix that?

Thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-31 08:52:01 +0200

fidbc gravatar image

I'm not sure if fixing that would be good.

You might find these other answers relevant to your question:

I would suggest trying an approach as in: Using Psycopg2 and other libraries in sage.

If you are not able to install the module via easy_install, then I would suggest this approach: How do I install python modules, or use a different version of python? (with sage)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-01-31 07:38:17 +0200

Seen: 592 times

Last updated: Jan 31 '13