Ask Your Question
1

Accessing Maple from Sage osx (.dmg version)

asked 2018-07-27 20:24:51 -0600

Michael Burr gravatar image

updated 2018-07-30 20:15:53 -0600

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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2018-07-30 03:30:42 -0600

slelievre gravatar image

To 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:

edit flag offensive delete link more

Comments

I 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').

Michael Burr gravatar imageMichael Burr ( 2018-07-30 19:31:24 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-27 20:24:51 -0600

Seen: 35 times

Last updated: Jul 30