On Sun, Apr 22, 2012 at 11:26 AM, DigDug_the_2nd
<[email protected]> wrote:
> I installed Sage on an Ubuntu 10 VM using a prebuilt binary, and it
> installed it in its own environment under a folder called sage-4.8
> I know this is a nice feature in general, but the problem is that my VM
> already had a python2.6 installation on it, so its now the second python2.6
> I'm used to using pip or easy_install to specify the python installation by
> its version number in order to tell it which python to target

Type "sage -sh" then use pip or easy_install, exactly as usual.

> But when I specify python2.6 it assumes I want to use the python2.6
> installed system wide, but I really want to install under sage
> I have been running the command line install commands through Sage's python
> using the subprocess commands, and since it is called
> from Sage's python, it lets the command line know to install to the python
> installation under Sage.
> This isn't too bad, but I just ran into a problem trying to install Tkinter
> where the installation asks for user input that's supposed to happen
> through the terminal, and I have no idea how to handle this using
> subprocess.
> Is there a better way of doing this all?
> If I uninstall the system wide python2.6,
> will I be able to install using something like:
> $ pip-2.6 install some-package
> Something is telling me there has got to be an easier way that what I've
> been trying with subprocess
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org



-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to