Ask Your Question
2

SAGE modules

asked 2011-07-06 17:10:45 +0200

anonymous user

Anonymous

Hello! I am new to sage, how do you install new Python modules in Sage? This module can't be installed by easy_install and you need to do the following in the downloaded package

python setup.py install

But how do you install and use it in Sage?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
6

answered 2011-07-06 19:22:58 +0200

Mike Hansen gravatar image

If you run sage -sh, then you can use easy_install to install whatever you want. If you have a source tarball and need to run python setup.py install, just do sage -python setup.py install and it will install it into Sage's Python environment.

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

Stats

Asked: 2011-07-06 17:10:45 +0200

Seen: 1,287 times

Last updated: Jul 06 '11