Environment is Fedora VM on Qubes OS.
I would like to use qtconsole along with Jupyter.  Jupyter is working.  
[Q] The purpose, at the moment, is superstition.  I read that a qtconsole 
might provide 'support' while developing a jupyter notebook.  I would like 
to learn how this might work.

I installed qtconsole with 

pip3 install qtconsole --user
(It failed without --user.)

But I have not been able to bring up qtconsole and Jupyter.

Re:  
https://www.tutorialspoint.com/jupyter/jupyter_qtconsole_getting_started.htm

  You can start Jupyter console from Anaconda navigator. 

  To start it from the command line, you should use the 

  following command, either from the Windows command 

  prompt or Anaconda prompt −


jupyter qtconsole 

While this article is specifically for Anaconda, I tried it at the sage 
prompt but it brought up syntax error at qtconsole. qtconsole at the sage 
prompt produced the same.

I start jupyter at the bash prompt
sage -n jupyter

After this, the sage console no longer has a prompt and doesn't seem 
active; it will respond to a ^z.  with a new prompt

With jupyter running, dropping down the new button on the jupyter page, and 
then selecting terminal , inputting
qtconsole brings up qtconsole.  Now both jyputer and qtconsole are up.

Is there a way to simplify this sequence?

Further

Going to the jupyter page, I can input an expression in the green outlined 
cell, 2+2, ShftEnter, but there is no output, just a new cell.

At the Jupyter qtconsole, expression entries execute.  

On opening the help menu on qtconsole, the qtconsole stopped working

Next, I opened a terminal and executed jypyter qtconsole.
A qtconsole opened.  Expressions executed.

I went back to the terminal, pressed cntrl-z, qtconsoled became 
unresponsive.  The jupyter page became unresponsive.  I attempted to close 
the qtconsole window the the 'X' in the upper right corner.  It was 
unresponsive.  I closed the terminal, and qtconsole also closed.  

Third attempt.
Open a new terminal.  Start with
sage -n jupyter
Code cells execute expressions.  
Open qtconsole from jupyter page.
At the qtconsole, expressions execute.  
On jupyter page, code cells execute expressions.  

It is not clear why the behavior was different from trial to trial.  

Closing the terminal produces a message:  Stopped       sage -n jupyter
The jupyter page no longer executes expressions but cells still have some 
functionality.  
At the jupyter page, the new hotpot processes a blank page.
The qtconsole still executes expressions.  

[Q] In order for qtconsole to help support jupyter, I would think they 
would need to share the same kernal.  I would like to learn how to tell if 
they do.  And, with this method of starting both, is there a way to assure 
they do share the same kernel.  






-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/69c43461-0e60-4d93-bb78-14c5ec9aa5ef%40googlegroups.com.

Reply via email to