First time here? Check out the FAQ!

Ask Your Question
2

SAGE modules

asked 13 years ago

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?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
6

answered 13 years ago

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.

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

Stats

Asked: 13 years ago

Seen: 1,733 times

Last updated: Jul 06 '11