Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

try this at the terminal

$sage -sh
$easy-install 'python-module'

try this at the terminal

$sage -sh
$easy-install $easy_install 'python-module'

try this at the terminal

$sage -sh
$easy_install 'python-module'

Edit: The command easy_install will download the module from internet and install it.

For eg. If you type easy_install asciitables you get the following output. Notice it goes to the websites and finds the latest version and installs it.

(sage subshell) galileo:~ shashank$ easy_install asciitable
Searching for asciitable
Best match: asciitable 0.8.0
Running asciitable-0.8.0/ -q bdist_egg --dist-dir /tmp/easy_install-vcITTN/asciitable-0.8.0/egg-dist-tmp-S2CmQN
zip_safe flag not set; analyzing archive contents...
asciitable.version: module references __file__
Adding asciitable 0.8.0 to easy-install.pth file

Installed /home/shashank/sage-4.8-linux-64bit-ubuntu_10.04.3_lts-x86_64-Linux/local/lib/python2.6/site-packages/asciitable-0.8.0-py2.6.egg
Processing dependencies for asciitable
Finished processing dependencies for asciitable