我试图在Ubuntu20.04上复制图书“挖掘社会网络”(Russel/Klassen)的Docker安装。我设置了Docker,并试图直接从respository (repo2docker https://github.com/mikhailklassen/Mining-the-Social-Web-3rd-Edition)创建Docker容器,用于打开木星笔记本,但我遇到了错误。在我安装Python3和pip3之前(不能只安装Python3)。
在运行的代码中获得了这个倍数:
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.(无法修复内部链接的问题)
而代码末尾的错误是:
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也许有人能帮我?经常这样!
发布于 2020-05-19 09:01:20
解决您的问题,不要使用对接,因为它将无法卸载龙卷风包,这是一个纯粹的distutil软件包,因为pip安装说明。使用以下解决方案:
我在虚拟env上工作,并建议您也这样做。
克隆回购 导航到/binder 执行
pip install --ignore-installed -r requirements.txt导航到/notebooks执行jupyter notebook
发布于 2021-04-17 04:31:07
答案:https://stackoverflow.com/a/67134670/1290868
对我来说,这是requirements.txt中的一条线;
...
jupyterlab>=1.0
....删除版本部分(">=1.0")并工作;
...
jupyterlab
....发布于 2021-05-30 07:40:53
我当时正忙着更新jupyter笔记本/ jupyterlab,我和终结者有问题,不知道它是什么。即使在卸载它之后,它也是avl (不知道为什么)。因此,我卸载了jupyterlab并重新安装了它。
https://stackoverflow.com/questions/61770369
复制相似问题