Jupyter笔记本不显示In [] / Out []

时间:2020-04-08 18:12:59

标签: jupyter-notebook ipython jupyter

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

jupyter笔记本计算机在繁忙和执行索引时也不显示星号*。

这看起来有些陈词滥调,但我已经习惯了笔记本的工作方式,没有执行的顺序和繁琐的星号,我逐渐失去了对现实的掌握。

尤其奇怪的是,我从中搜寻了地狱,但似乎没有人遇到或报告过,希望它不是我所缺少的选择或其他东西。

python --version的输出:

Python 3.7.5

冻结点的输出:

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

1 个答案:

答案 0 :(得分:0)

我通过以下方法解决了这个问题:

  1. 删除我的所有静脉口
  2. 从主要的python python安装中卸载所有软件包(我偶然没有通过dpkg安装的东西)
  3. 使用所有GPU东西创建一个新的venv并检查其是否有效
  4. 从笔记本内容(主要是破碎的二进制文件)中删除所有剩余的内容
  5. 将笔记本材料(主要是jupyter)添加到包装中
  6. 删除.jupyter配置,重新创建它,并更改桌面/初始文件夹/等内容...
  7. 运行jupyter并发现其运行正常
  8. 添加nbextensions和其他软件包,这是我其余代码所需要的