问题标签 [jupyter-lab]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
jupyter-notebook - 在 JupyterLab 中显示代码行号
在 Jupyter notebook 中,cntrl
+m
L
切换当前单元格中的代码行号,但如何将代码行号带入 JupyterLab?
参考了github中打开的类似问题
python - 如何让 ipywidgets 在 Jupyter Lab 中工作?
在 Jupyter Notebook 中,ipywidgets 工作正常,但是它们似乎在 Jupyter Lab 中不起作用(据说比 Notebook 更好)。
我按照这些指示。
第 1 步:安装 Node.js ( https://nodejs.org/en/ )
第 2 步:使用 conda 在 Python 3 上安装要求:
不幸的是,基本小部件在 jupyter 实验室笔记本中不起作用:
jupyter-notebook - 如何在 Jupyterlab 中为特定内核设置选项卡大小?
在 Jupyterlab 中,可以通过 Settings ->
Advanced Settings Editor ->
Notebook 选项和编辑tabSize
属性来更改 Jupyter notebook 的每个组成部分的选项卡空间。但是,这会更改每个内核的笔记本的选项卡大小。
我希望 Scala 内核有 2 个制表符空间,其余的有 4 个制表符空间(默认)。这样的设置可能吗?
anaconda - 从 Windows 上的 Anaconda Prompt 复制文本
如何从 Windows 上的 Anaconda Prompt 复制文本?自然我会尝试突出显示文本并复制,但在 Anaconda Prompt(至少在 Windows 上)你不能突出显示文本。
anaconda - Homebrew 安装的 Anaconda 中的 JupyterLab 无法启动内核,寻找旧安装
我希望有人能帮助我理解为什么 JupyterLab 无法在我的系统上启动内核。
背景
我正在开发 macOS High Sierra。我曾经通过 Mac OS 安装程序在我的主文件夹 ( $HOME/anaconda
) 的默认位置安装 Anaconda。基于这个线程,我卸载了 Anaconda。
我从 Homebrew Cask 重新安装了 Anaconda(放在export PATH=/usr/local/anaconda3/bin:"$PATH"
我的.bashrc
.
问题
现在当我
- 运行
jupyter-lab
, - 创建一个新笔记本,并且
- 选择一个 Python 3 内核,
该过程失败,输出如下:
Traceback (most recent call last):
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/web.py", line 1543, in _execute
result = yield result
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1099, in run
value = future.result()
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1107, in run
yielded = self.gen.throw(*exc_info)
File "/usr/local/anaconda3/lib/python3.6/site-packages/notebook/services/sessions/handlers.py", line 73, in post
type=mtype))
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1099, in run
value = future.result()
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1107, in run
yielded = self.gen.throw(*exc_info)
File "/usr/local/anaconda3/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 79, in create_session
kernel_id = yield self.start_kernel_for_session(session_id, path, name, type, kernel_name)
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1099, in run
value = future.result()
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1107, in run
yielded = self.gen.throw(*exc_info)
File "/usr/local/anaconda3/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 92, in start_kernel_for_session
self.kernel_manager.start_kernel(path=kernel_path, kernel_name=kernel_name)
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 1099, in run
value = future.result()
File "/usr/local/anaconda3/lib/python3.6/site-packages/tornado/gen.py", line 315, in wrapper
yielded = next(result)
File "/usr/local/anaconda3/lib/python3.6/site-packages/notebook/services/kernels/kernelmanager.py", line 148, in start_kernel
super(MappingKernelManager, self).start_kernel(**kwargs)
File "/usr/local/anaconda3/lib/python3.6/site-packages/jupyter_client/multikernelmanager.py", line 110, in start_kernel
km.start_kernel(**kwargs)
File "/usr/local/anaconda3/lib/python3.6/site-packages/jupyter_client/manager.py", line 259, in start_kernel
**kw)
File "/usr/local/anaconda3/lib/python3.6/site-packages/jupyter_client/manager.py", line 204, in _launch_kernel
return launch_kernel(kernel_cmd, **kw)
File "/usr/local/anaconda3/lib/python3.6/site-packages/jupyter_client/launcher.py", line 128, in launch_kernel
proc = Popen(cmd, **kwargs)
File "/usr/local/anaconda3/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/usr/local/anaconda3/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '~/anaconda/bin/python': '~/anaconda/bin/python'
我已经从我的环境 ( , ) 中删除了对$HOME/anaconda
(我的旧安装位置)的所有引用,所以我无法确定引用的位置。.bashrc
.bash_profile
任何建议将不胜感激。
html - 在 jupyterlab / jupyternotebooks 中运行 highcharter
我正在尝试highcharter
在 jupyterlab 中渲染一些图表
要开始plotlywrapper
工作,您需要安装扩展程序。我可以想象必须建造类似的东西highcharter
?
错误信息:
python - JupyterLab 不执行代码
我安装了 Anaconda-Navigator,它曾经在我的 Macbook 上工作,目前 JupyterLab 在我尝试运行它时不执行代码。
- 我已卸载并重新安装
- 我 shift + enter 运行代码块“print("a")”,但没有任何反应,它只显示 [*]——我认为这意味着它正在处理,实际上没有打印出来。
- 我试图重新启动内核
非常感谢您的意见。