ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 30 Jul 2018 19:31:24 -0500Accessing Maple from Sage osx (.dmg version)http://ask.sagemath.org/question/43183/accessing-maple-from-sage-osx-dmg-version/What is the "right" way to set up Sage to access Maple from a Jupyter notebook on MacOSX from the .dmg version? For the command line version, I've set my path variables correctly and Maple easily runs from Sage. However, when I open the GUI version of sage, Maple isn't on the path and I'm not sure how to add it (even temporarily).
Following up to the answer below, my issue might not be that the PATH is in error. I've set the path correctly (or so I believe), but Maple still isn't accessible from the GUI version of Maple.Fri, 27 Jul 2018 20:24:51 -0500http://ask.sagemath.org/question/43183/accessing-maple-from-sage-osx-dmg-version/Answer by slelievre for <p>What is the "right" way to set up Sage to access Maple from a Jupyter notebook on MacOSX from the .dmg version? For the command line version, I've set my path variables correctly and Maple easily runs from Sage. However, when I open the GUI version of sage, Maple isn't on the path and I'm not sure how to add it (even temporarily).</p>
<p>Following up to the answer below, my issue might not be that the PATH is in error. I've set the path correctly (or so I believe), but Maple still isn't accessible from the GUI version of Maple.</p>
http://ask.sagemath.org/question/43183/accessing-maple-from-sage-osx-dmg-version/?answer=43206#post-id-43206To extend your path in a Sage session, do:
sys.path.append('mypath')
To extend it at the start of each session, add the above to the `init.sage` file
in the `.sage` directory in your home directory (creating the `init.sage` file
if it does not exist).
See also:
- [Ask Sage question 8871: How to add path on sage startup](https://ask.sagemath.org/question/8871)
Mon, 30 Jul 2018 03:30:42 -0500http://ask.sagemath.org/question/43183/accessing-maple-from-sage-osx-dmg-version/?answer=43206#post-id-43206Comment by Michael Burr for <p>To extend your path in a Sage session, do:</p>
<pre><code>sys.path.append('mypath')
</code></pre>
<p>To extend it at the start of each session, add the above to the <code>init.sage</code> file
in the <code>.sage</code> directory in your home directory (creating the <code>init.sage</code> file
if it does not exist).</p>
<p>See also:</p>
<ul>
<li><a href="https://ask.sagemath.org/question/8871">Ask Sage question 8871: How to add path on sage startup</a></li>
</ul>
http://ask.sagemath.org/question/43183/accessing-maple-from-sage-osx-dmg-version/?comment=43213#post-id-43213I tried this before posting, but it isn't working. The specific command was:
sys.path.append('/Library/Frameworks/Maple.framework/Versions/Current/bin')
After running this, the appropriate path appeared in sys.path, but the behavior was unchanged when calling maple('3*5').Mon, 30 Jul 2018 19:31:24 -0500http://ask.sagemath.org/question/43183/accessing-maple-from-sage-osx-dmg-version/?comment=43213#post-id-43213