Hi Paul,

disclaimer: I didn't try to install Cantera. But generally, to install
Python packages that are not part of the SageMath ecosystem, you should
first open a Sage shell by the command
    sage -sh

Then, in the Sage shell, you follow the instructions to install the
package. Sage has its own Python, that is separate from
your system-wide Python. So, if you follow the instruction in a plain
terminal, the installation will end in the system-wide Python that
SageMath can not find.

Example from my machine:
System-wide Python:
  king@king-ThinkPad-T430:~$ python --version
  Python 2.7.12

Sage's Python
  king@king-ThinkPad-T430:~$ ~/Sage/git/sage/sage -sh
  ...
  Note: SAGE_ROOT=/home/king/Sage/git/sage
  (sage-sh) king@king-ThinkPad-T430:~$ python --version
  Python 2.7.13

Best regards,
Simon

On 2017-10-13, Paul DesJardin <[email protected]> wrote:
> Hi,
>
> Is there a way to install Cantera 
> (http://www.cantera.org/docs/sphinx/html/install.html) so it works with 
> sage?
> I can get Cantera installed and working with python/ipython using the Conda 
> installation directions but I don't see how
> to adapt these direction for use with sage.  Any help or guidance would be 
> much appreciated.  Thank you,
>
> Paul
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to