gpt4 book ai didi

python - 如何解决 ipython(显示)安装错误

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:19:52 28 4
gpt4 key购买 nike

我正在尝试在 linux 上安装 show,但出现以下错误:

sudo pip install show
...
Collecting ipython (from show)
Downloading ipython-6.1.0.tar.gz (5.1MB)
100% |████████████████████████████████| 5.1MB 89kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 20, in <module

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-xYQAaZ/ipython

没有这样的文件/目录/tmp/pip-build-xYQAaZ/ipython 所以我没有更多的细节。任何想法如何进一步调试或解决安装问题?我在 python 2.6.6 上。我能够在另一个使用 python 2.6.6 的 linux 系统上安装 show,没有任何问题。

最佳答案

我在安装 python 包时遇到了类似的问题(具有相同的错误代码)。最终起作用的是安装轮子。首先通过执行 pip install wheel 安装对 wheel 的支持,然后您可以从 here 下载 wheel 文件。并使用 pip install ____

安装它

关于python - 如何解决 ipython(显示)安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44978976/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com