Hi David, On 2 Jan., 19:00, DavidG <[email protected]> wrote: > I used my default python2.6 which is running in 32 bit architecture to > compile the sklearn module > I'm running a 64 bit version of SAGE, hence the incompatability.
No. Sage has its own installation of Python, Maxima, Gap, Singular, ... (also known as "Sage comes with batteries included"). Your default python2.6 is totally irrelevant to Sage. > Given the error and instruction to run "Make" first. How can I run > make from within sage. > Also using the command "sage -sh" from my terminal gives the error: > > $ sage -sh > -bash: sage: command not found Then how do you start a Sage session from the command line? > opening a sage session and using the sage terminal: > cd to the source directory and typing setup results in: > > NameError: name 'setup' is not defined > sage: That is a Sage session, but not a Sage shell. Let us assume that you installed Sage in the folder ~/SAGE/sage-4.7.2. You will find an executable "sage" there. If it is not in your path, then just doing "sage" or "sage -sh" will, of course, not work and result in a "command not found" error. But being in that folder, you can start a sage session by ./sage. You can start a session of Sage's python by ./sage -python, of Sage's Singular by ./sage -singular, and so on. And if you want to install a package into Sage's python, then you can open a Sage shell (by ./sage -sh if you are in the afore-mentioned folder, by /path/to/that/folder/sage -sh if you aren't, and by sage - sh if sage is in your path), and then you can do all the necessary steps to install your package. Best regards, Simon -- 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
