Jupyter notebook Jupyter笔记本电脑未显示在[]/输出[]

Jupyter notebook Jupyter笔记本电脑未显示在[]/输出[],jupyter-notebook,ipython,jupyter,Jupyter Notebook,Ipython,Jupyter,这是在一台新安装的尖端ubuntu笔记本电脑上,我还安装了所有最新的软件包和工具 jupyter笔记本在忙碌和执行索引时也不显示星号* 这可能看起来很陈腐,但我已经习惯了笔记本电脑的工作方式,没有执行顺序和繁忙的星号,我正在慢慢失去对现实的把握 特别奇怪的是,我在谷歌上搜索出了这个问题,但似乎没有人遇到或报告过它,希望这不是我错过的选项或其他什么 python的输出--版本: Python 3.7.5 pip冻结的输出: absl-py==0.9.0 astor==0.8.1 attrs==1

这是在一台新安装的尖端ubuntu笔记本电脑上,我还安装了所有最新的软件包和工具

jupyter笔记本在忙碌和执行索引时也不显示星号*

这可能看起来很陈腐,但我已经习惯了笔记本电脑的工作方式,没有执行顺序和繁忙的星号,我正在慢慢失去对现实的把握

特别奇怪的是,我在谷歌上搜索出了这个问题,但似乎没有人遇到或报告过它,希望这不是我错过的选项或其他什么

python的输出--版本:

Python 3.7.5
pip冻结的输出:

absl-py==0.9.0
astor==0.8.1
attrs==19.3.0
backcall==0.1.0
bleach==3.1.0
boto3==1.12.38
botocore==1.15.38
Bottleneck==1.3.1
cachetools==4.0.0
certifi==2020.4.5.1
chardet==3.0.4
cycler==0.10.0
decorator==4.4.1
defusedxml==0.6.0
docutils==0.15.2
entrypoints==0.3
fasttext==0.9.1
gast==0.3.3
gensim==3.8.1
google-api-core==1.16.0
google-auth==1.13.1
google-cloud-core==1.3.0
google-cloud-storage==1.27.0
google-pasta==0.1.8
google-resumable-media==0.5.0
googleapis-common-protos==1.51.0
grpcio==1.27.1
h5py==2.10.0
idna==2.9
importlib-metadata==1.5.0
ipykernel==5.1.4
ipython==7.12.0
ipython-genutils==0.2.0
ipywidgets==7.5.1
jedi==0.16.0
Jinja2==2.11.1
jmespath==0.9.5
jsonschema==3.2.0
jupyter==1.0.0
jupyter-client==5.3.4
jupyter-console==6.1.0
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.1
jupyter-core==4.6.1
jupyter-highlight-selected-word==0.2.0
jupyter-latex-envs==1.4.6
jupyter-nbextensions-configurator==0.4.1
Keras==2.3.1
Keras-Applications==1.0.8
Keras-Preprocessing==1.1.0
kiwisolver==1.1.0
lxml==4.5.0
Markdown==3.2
MarkupSafe==1.1.1
matplotlib==3.1.3
mistune==0.8.4
more-itertools==8.2.0
nbconvert==5.6.1
nbextensions==0.1.0
nbformat==5.0.4
notebook==6.0.3
numexpr==2.7.1
numpy==1.16.4
pandas==1.0.1
pandocfilters==1.4.2
parso==0.6.1
pexpect==4.8.0
pickleshare==0.7.5
pkg-resources==0.0.0
prometheus-client==0.7.1
prompt-toolkit==3.0.3
protobuf==3.11.3
ptyprocess==0.6.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pybind11==2.4.3
Pygments==2.5.2
pyparsing==2.4.6
pyrsistent==0.15.7
python-dateutil==2.8.1
pytz==2019.3
PyYAML==5.3
pyzmq==18.1.1
qtconsole==4.6.0
requests==2.23.0
rsa==4.0
s3transfer==0.3.3
scipy==1.4.1
Send2Trash==1.5.0
six==1.14.0
smart-open==1.10.0
tensorboard==1.14.0
tensorflow==1.14.0
tensorflow-estimator==1.14.0
tensorflow-gpu==1.14.0
termcolor==1.1.0
terminado==0.8.3
testpath==0.4.4
torch==1.4.0
tornado==6.0.3
traitlets==4.3.3
urllib3==1.25.8
wcwidth==0.1.8
webencodings==0.5.1
Werkzeug==1.0.0
widgetsnbextension==3.5.1
wrapt==1.11.2
zipp==2.2.0

我已通过以下方式解决了此问题:

  • 删除我所有的VENV
  • 卸载主linux python安装中的所有软件包(我意外地没有通过dpkg安装的东西)
  • 使用所有GPU材料创建一个新的venv,并检查它是否工作
  • 删除笔记本中的所有剩余内容(大部分是损坏的二进制文件)
  • 将笔记本(主要是jupyter)添加到包中
  • 删除.jupyter配置,重新创建它并更改桌面/初始文件夹等内容
  • 运行jupyter并确保它工作正常
  • 添加nbextensions和其他包是我代码的其余部分所需要的

  • 你是如何安装jupyter的?python和jupyter的版本是什么?这不是jupyterlab,不是吗?不是jupyterlab,但我也尝试删除了Nbextensions,我已经在我的venv上添加了python版本和pip冻结,请随意询问其他问题。谢谢。您能否从启动jupyter以尝试执行单元格时复制日志消息?看起来编辑器没有连接到内核。好的,我彻底清理了整个python包并重新安装,现在它可以工作了,我不确定是什么修复了它,可能与nbextensions有关,我会重新安装笔记本电脑工作所需的东西,如果它再次出现,我会给你回复…@LukaszTracewski,对不起,Lukasz,悬赏结束后,我将删除这个问题,我修复了问题并将所有内容安装回原位,但无法重新创建,我猜我将虚拟环境与本地库分离的方式出了问题,尽管我现在还不能确定。谢谢你的努力:)