我正在尝试在 Ubuntu 20.04 上重现“挖掘社交网络”(Russel/Klassen)一书的 Docker 安装。我设置了 Docker 并尝试直接从存储库创建 Docker 容器(repo2docker https://github.com/mikhailklassen/Mining-the-Social-Web-3rd-Edition)以打开 Jupyter Notebook,但出现错误。在我安装 Python3 和 pip3 之前(不能只安装 Python 和 pip)。
在运行代码中得到了这个倍数:
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
也许有人可以帮助我?多谢!