Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install-maxima-jupyter sticks with lack of kernel. #58

Open
robert-dodier opened this issue May 30, 2019 · 11 comments
Open

install-maxima-jupyter sticks with lack of kernel. #58

robert-dodier opened this issue May 30, 2019 · 11 comments

Comments

@robert-dodier
Copy link
Owner

(I have copied the following from an email from Robert Moser.)

Dear Robert Dodier

install-maxima-jupyter sticks with lack of kernel.

What I did until now:

  1. copy of maxima-jupyter-master on my MacBook Pro (macOS High Sierra).

  2. Terminal: roberts-macbook-pro:maxima-jupyter-master roebi$ python3 ./install-maxima-jupyter.py --root=pwd

  3. Terminal: roberts-macbook-pro:maxima-jupyter-master roebi$ jupyter notebook

Jupiter launches correctly but maxima has no kernel. It seems to me that maxima uses python 2 instead of python 3.

Here I encose the relevant part of the protocol from terminal. Now I am exhausted - I would appreciate your help. Thank you.

Best regards

Robert Moser

20190530_2_Terminal.pdf

@yitzchak
Copy link
Contributor

It's not clear to me what is happening beyond the kernel failing to execute. Maybe maxima is not in PATH? In that case specifying --exec during install would help. Also, I would try using jupyter console --kernel=maxima instead of the notebook as the console messages will probably be more informative.

@roebix
Copy link

roebix commented Jun 17, 2019

summary.nb.pdf

Thank you for help
Robert

@yitzchak
Copy link
Contributor

Please try using the --exec option to explicitly specify the path to your maxima binary. If you only have the SageMath maxima binary then this would be:

python3 ./install-maxima-jupyter.py --root=`pwd` --exec=/Applications/Maxima.app/Contents/Resources/opt/bin/maxima

@robert-dodier
Copy link
Owner Author

If I am not mistaken, Sage builds Maxima with ECL. I don't know if Maxima-Jupyter can work with ECL.

@roebix
Copy link

roebix commented Jun 19, 2019

After a third trial the installation succeded. But now there is another problem (see file Connection failed.png).

20190619.nb.pdf

Connection failed

Robert

@yitzchak
Copy link
Contributor

@robert-dodier You are correct, the SageMath binary won't work. I forgot to update my intro text but used the path to the correct binary in my example.

@roebix Please try jupyter-console --kernel=maxima as this will more info to the console.

@roebix
Copy link

roebix commented Jun 20, 2019

It is fairly confusing task!

20190620.pdf

@yitzchak
Copy link
Contributor

It looks like the maxima script cannot find SBCL. You should probably make sure the sbcl binary is in PATH.

@roebix
Copy link

roebix commented Jun 22, 2019

Unfortunately it doesn't work with SBCL either.

apple, how extend $PATH in high sierra.pdf
20190622

@yitzchak
Copy link
Contributor

Your export command probably should have been

export PATH=”$PATH:/Applications/Maxima.app/Contents/Resources/opt/bin”

@roebix
Copy link

roebix commented Jun 24, 2019

Unfortunately, the same problem is again apparent, there is no kernel.
Now I give up. Thanks for the friendly help. Best regards Robert Moser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants