首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Docker Ubuntu 20.04 -无法卸载“终端机”和pip问题

Docker Ubuntu 20.04 -无法卸载“终端机”和pip问题
EN

Stack Overflow用户
提问于 2020-05-13 08:59:50
回答 3查看 1.5K关注 0票数 0

我试图在Ubuntu20.04上复制图书“挖掘社会网络”(Russel/Klassen)的Docker安装。我设置了Docker,并试图直接从respository (repo2docker https://github.com/mikhailklassen/Mining-the-Social-Web-3rd-Edition)创建Docker容器,用于打开木星笔记本,但我遇到了错误。在我安装Python3和pip3之前(不能只安装Python3)。

在运行的代码中获得了这个倍数:

代码语言:javascript
复制
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.

(无法修复内部链接的问题)

而代码末尾的错误是:

代码语言:javascript
复制
ERROR: Cannot uninstall 'terminado'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Removing intermediate container 71cfe8e913dd
The command '/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "binder/requirements.txt"' returned a non-zero code:1

也许有人能帮我?经常这样!

EN

回答 3

Stack Overflow用户

回答已采纳

发布于 2020-05-19 09:01:20

解决您的问题,不要使用对接,因为它将无法卸载龙卷风包,这是一个纯粹的distutil软件包,因为pip安装说明。使用以下解决方案:

我在虚拟env上工作,并建议您也这样做。

克隆回购 导航到/binder 执行pip install --ignore-installed -r requirements.txt 导航到/notebooks执行jupyter notebook

票数 1
EN

Stack Overflow用户

发布于 2021-04-17 04:31:07

答案:https://stackoverflow.com/a/67134670/1290868

对我来说,这是requirements.txt中的一条线;

代码语言:javascript
复制
...
jupyterlab>=1.0
....

删除版本部分(">=1.0")并工作;

代码语言:javascript
复制
...
jupyterlab
....
票数 0
EN

Stack Overflow用户

发布于 2021-05-30 07:40:53

我当时正忙着更新jupyter笔记本/ jupyterlab,我和终结者有问题,不知道它是什么。即使在卸载它之后,它也是avl (不知道为什么)。因此,我卸载了jupyterlab并重新安装了它。

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

https://stackoverflow.com/questions/61770369

复制
相关文章

相似问题

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