Maxima on Jupyter

792 views
Skip to first unread message

jmarcell...@ufpi.edu.br

unread,
Aug 26, 2016, 11:36:07 AM8/26/16
to Project Jupyter

Hello
I love the maxima and want to use it in jupyter. But when trying to install the module, this error occurs:
How to solve?


Maxima-Jupyter -- an enhanced interactive Maxima shell
 CL
-Jupyter (C) 2014-2015 Frederic Peschanski (cf. LICENSE)
 
Additional Maxima-specific stuff by Robert Dodier; thanks Frederic!  

... Frontend: using IPython v4.0
 
/home/jmarcellopereira/anaconda3/lib/python3.4/site-packages/IPython/utils/path.py:258: UserWarning: get_ipython_dir has moved to the IPython.paths module
 warn
("get_ipython_dir has moved to the IPython.paths module")
 error
: Maxima-Jupyter executable not specified.
 
Abort.


Henri Girard

unread,
Aug 26, 2016, 2:33:28 PM8/26/16
to Project Jupyter
Would be nice if someone could make a comprehensive kernel installation for maxima. It's pity because I tried few times with the same result and I don't understand how to make the maxima executable. (english is not my mother language) but I could translate a comprehensive tutorial in french.
Regards
Henri

jmarcell...@ufpi.edu.br

unread,
Aug 26, 2016, 6:55:55 PM8/26/16
to Project Jupyter
Hi Girard

Actually,
I'm already this problem for several months without response :( You can write in French that I will understand ;)

Henri Girard

unread,
Aug 27, 2016, 4:10:07 AM8/27/16
to Project Jupyter
Salut,
J'ai toujours utilisé wxmaxima (que j'utilise encore malgré un problème de sidebar symbols), quand j'ai vu R.Dodier proposé un kernel j'étais fou de joie, ça pas duré longtemps car quand j'ai lu ce qui était écrit et que j'ai essayé de faire, j'ai compris que sans plus d'aide de sa part ou de quelqu'un qui pourrait faire un tutoriel très détaillé, ça sera difficile à faire fonctionner.
Apparement dans son git il dit avoir un bug avec les caractères ?
On verra bien s'il se décide à pousser plus loin cette excellente initiative... A mon avis y a pas beaucoup de gens capable de sauter le pas, moi pas en tout cas car malheureusement je ne suis qu'un utilisateur. J'utilise jupyterlab avec plusieurs kernel : Julia, sage, octave, python 2 et 3, scilab (peu car l'interface est très faite), j'avoue que j'aimerais bien avoir maxima dans jupyter !
Cordialement

Henri

Le vendredi 26 août 2016 17:36:07 UTC+2, jmarcell...@ufpi.edu.br a écrit :

jmarcell...@ufpi.edu.br

unread,
Aug 27, 2016, 11:05:14 AM8/27/16
to Project Jupyter
bonjour henri
J'ai aimé l'idée "de laboratoire jupyter" (ne sait pas). J'ai essayé d'installer, mais une erreur se produit:

jmarcellopereira@kubuntu:~/maxima-jupyter-master$ jupyter serverextension enable --py jupyterlab --sys-prefix
Enabling: jupyterlab
- Writing config: /usr/etc/jupyter
Traceback (most recent call last):
  File "/home/jmarcellopereira/.local/bin/jupyter-serverextension", line 11, in <module>
    sys.exit(main())
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/traitlets/config/application.py", line 596, in launch_instance
    app.start()
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/notebook/serverextensions.py", line 301, in start
    super(ServerExtensionApp, self).start()
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/jupyter_core/application.py", line 256, in start
    self.subapp.start()
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/notebook/serverextensions.py", line 218, in start
    self.toggle_server_extension_python(arg)
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/notebook/serverextensions.py", line 210, in toggle_server_extension_python
    self.toggle_server_extension(module)
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/notebook/serverextensions.py", line 193, in toggle_server_extension
    sys_prefix=self.sys_prefix, logger=self.log)
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/notebook/serverextensions.py", line 81, in toggle_serverextension_python
    cm.update("jupyter_notebook_config", cfg)
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/traitlets/config/manager.py", line 87, in update
    self.set(section_name, data)
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/traitlets/config/manager.py", line 71, in set
    self.ensure_config_dir_exists()
  File "/home/jmarcellopereira/.local/lib/python2.7/site-packages/traitlets/config/manager.py", line 46, in ensure_config_dir_exists
    os.makedirs(self.config_dir, 0o755)
  File "/usr/lib/python2.7/os.py", line 150, in makedirs
    makedirs(head, mode)
  File "/usr/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/usr/etc'

jmarcellopereira@kubuntu:~/maxima-jupyter-master$ sudo jupyter serverextension enable --py jupyterlab --sys-prefix
sudo: jupyter: comando não encontrado
jmarcellopereira@kubuntu:~/maxima-jupyter-master$

Henri Girard

unread,
Aug 27, 2016, 12:09:56 PM8/27/16
to Project Jupyter
I guess you should sudo ? no permission it said ?


Le vendredi 26 août 2016 17:36:07 UTC+2, jmarcell...@ufpi.edu.br a écrit :

jmarcell...@ufpi.edu.br

unread,
Aug 27, 2016, 9:58:49 PM8/27/16
to Project Jupyter
i used the two commands e not does works :(

Henri Girard

unread,
Aug 28, 2016, 2:19:46 AM8/28/16
to Project Jupyter
I don't  know then... Using pip and pip3 (sudo -H pip install jupyterlab and --upgrade ) should do the trick. I use ubuntu -mate 16.04, there is difference with kubuntu.


Le vendredi 26 août 2016 17:36:07 UTC+2, jmarcell...@ufpi.edu.br a écrit :

Sylvain Corlay

unread,
Aug 28, 2016, 6:23:55 AM8/28/16
to jup...@googlegroups.com
Chers Henri, João,

Bienvenue sur la liste de diffusion de Jupyter. Si la langue anglaise est un problème, nous sommes quelques développeurs de Jupyter à pouvoir répondre en français.

Sachez que jupyterlab n'est pas encore conseillé pour un usage général est est toujours en version "alpha" à ce jour - mais nous sommes très envers les utilisateurs qui sautent le pas pour essayer les versions en développement. 

Au sujet du kernel maxima, je trouve que c'est une excellente nouvelle. Je vais jeter un oeil au projet et voir si je peux aider à simplifier la procédure d'installation. 

Bien cordialement,

Sylvain

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/8509f4e4-7db7-47da-b99f-9b5f7ccbae94%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Henri Girard

unread,
Aug 28, 2016, 12:00:33 PM8/28/16
to Project Jupyter
Dear Sylvain,
Thank you for your help.
No problem with english language... except I can't use maxima kernel which I would like most :)
I know jupyterlab is not adviced but for what I do it's ok.
Well if you can find out how to install the maxima kernel would be an excellent new. I blocked on how to make the maxima exec ?
But a step by step installation notice would be a very interesting thing for maxima, as it's a wonderfull soft
Best regards
Henri



Le vendredi 26 août 2016 17:36:07 UTC+2, jmarcell...@ufpi.edu.br a écrit :
Reply all
Reply to author
Forward
0 new messages