【问题标题】:Failed to generate token生成令牌失败
【发布时间】:2022-10-13 22:03:08
【问题描述】:

我想生成一个令牌,以便能够使用另一台笔记本电脑上的笔记本电脑,但出现以下错误:

A/.pm2/logs/jupyter-error.log last 15 lines:

5|jupyter| mod = importlib.import_module(modulename)

5|jupyter| File "/A/anaconda3/lib/python3.7/importlib/_init_.py", line 127, in import_module

5|jupyter| return _bootstrap._gcd_import(name[level:], package, level)

5|jupyter| File "<frozen importlib._bootstrap>", line 1006, in _gcd_import

5|jupyter| File "<frozen importlib._bootstrap>", line 983, in _find_and_load

5|jupyter| File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked

5|jupyter| ModuleNotFoundError: No module named 'jupyter_nbextensions_configurator'

5|jupyter| [I 09:13:19.980 NotebookApp] JupyterLab extension loaded from /A/anaconda3/lib/python3.7/site-packages/jupyterlab

5|jupyter| [I 09:13:19.980 NotebookApp] JupyterLab application directory is /A/anaconda3/share/jupyter/lab

5|jupyter| [I 09:13:19.981 NotebookApp] Serving notebooks from local directory: /A/jupyter

5|jupyter| [I 09:13:19.981 NotebookApp] The Jupyter Notebook is running at:

5|jupyter| [I 09:13:19.981 NotebookApp] http://10.20.23/

5|jupyter  | [I 09:13:19.981 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

5|jupyter  | Unable to connect to VS Code server.

5|jupyter  | Error in request

笔记:为了安全起见,我划掉了一些信息。

我尝试使用 pip 或 conda 更新库,但它不允许我更新或安装库。出现以下错误:

Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ce8a9f518>: Failed to establish a new connection: [Errno 101] Network is unreachable',)': /simple/jupyter-nbextensions-configurator/
Could not find a version that satisfies the requirement jupyter-nbextensions_configurator (from versions: )
No matching distribution found for jupyter-nbextensions_configurator

【问题讨论】:

    标签: python pip jupyter-notebook conda anaconda3


    【解决方案1】:

    解决方案是更新 Python,但是有几个工作环境使用不同版本的 Python,只是配置工作环境并识别库。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-10-06
      • 2019-06-26
      • 2020-04-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多