Create jupyter qtconsole shortcut installed on virtualenv on windows [7]

478 Views Asked by At

This is how I am currently doing and is working fine.

C:\Users\me> dev\Scripts\activate
(dev) C:\Users\me> jupyter qtconsole --style monokai

I tried saving the above commands to .bat and double clicking the same. The prompt opens and close.

I even tried.

C:\Users\me\dev\Scripts\jupyter.exe qtconsole --style monokai

>Error executing Jupyter command 'qtconsole': [Errno 'jupyter-qtconsole' not found] 2

cmd /k C:\Users\me\dev\Scripts\activate && jupyter qtconsole --style monokai only activates virtualenv.

It fails too. Is there anything missing?

1

There are 1 best solutions below

0
Rahul On BEST ANSWER

There is jupyter-qtconsole.exe in your_env\Scripts. You can create new shortcut giving that path with optional arguments.

In my case, I right clicked on where I wanted shortcut, selected New>Shortcut and in the dialogue box that appeared in the target put C:\Users\me\dev\Scripts\jupyter-qtconsole.exe --style monokai saved it and voila.