首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >生成令牌失败

生成令牌失败
EN

Stack Overflow用户
提问于 2022-10-04 13:11:35
回答 1查看 80关注 0票数 0

我想要生成一个令牌,以便能够使用另一台膝上型计算机的笔记本,但我得到了以下错误:

代码语言:javascript
复制
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更新库,但它不允许我更新或安装库。出现以下错误:

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-10-13 14:03:08

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/73948425

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档