First time here? Check out the FAQ!

Ask Your Question
0

How to import 3rd party modules into SAGE?

asked 12 years ago

anonymous user

Anonymous

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
0

answered 12 years ago

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)

Preview: (hide)
link

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

Stats

Asked: 12 years ago

Seen: 702 times

Last updated: Jan 31 '13