[英]Create jupyter qtconsole shortcut installed on virtualenv on windows [7]
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. 我尝试将上述命令保存到.bat
并双击相同的命令。 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. cmd / k C:\\ Users \\ me \\ dev \\ Scripts \\ activate && jupyter qtconsole --style monokai仅激活virtualenv。
It fails too. 它也失败了。 Is there anything missing? 缺少什么吗?
There is jupyter-qtconsole.exe
in your_env\\Scripts
. your_env\\Scripts
有jupyter-qtconsole.exe
。 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. 就我而言,我右键单击想要快捷方式的位置,选择“ New>Shortcut
然后在出现在目标中的对话框中,将C:\\Users\\me\\dev\\Scripts\\jupyter-qtconsole.exe --style monokai
保存了它。和瞧。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.