First time here? Check out the FAQ!

Ask Your Question
1

Accessing Maple from Sage osx (.dmg version)

asked 6 years ago

Michael Burr gravatar image

updated 5 years ago

FrédéricC gravatar image

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 6 years ago

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:

Preview: (hide)
link

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 ( 6 years ago )

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: 6 years ago

Seen: 384 times

Last updated: Jul 31 '18