问题描述
我无法使用以下命令从我的命令行运行jupyter:
jupyter notebook
但是我可以从pycharm(光滑但有问题)运行它。当我从pycharm获取内核的IP和端口并将其粘贴到我的浏览器中时,我可以从那里运行它。
由于Arcpy,我无法使用anaconda,我在jupyter文件周围挖掘了一些提示。
我假设我需要在路径中添加一些东西?
打开cmd并输入:
其中jupyter
输出应该是Jupyter的链接。
如果其中jupyter
没有给出链接,这意味着PATH不包含其位置。
将Jupyter的链接添加到PATH&如果你有 ipython
&已经升级,在cmd上尝试 ipython notebook
。
参考:
I cannot get jupyter running from my Command line using:
jupyter notebook
But I can get it running from pycharm (slick but with issues). When I take the kernel's IP and Port from pycharm and paste it into my browser I can get it running from there.
I cannot use anaconda because of Arcpy, and I have dug around the jupyter files for some hints.
I'm assuming I need to add something to my path?
Open cmd and type:
where jupyter
The output should be a link to Jupyter.If where jupyter
doesn't give a link that means the PATH doesn't contain its location.
Add the link of Jupyter to PATH & it would work.
Also if you have ipython
& have upgraded, try ipython notebook
on cmd.
Refer: Running the Jupyter Notebook
这篇关于来自Windows的Cmd Line的Jupyter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!