GOOGLE COLAB错误:命令出错,退出状态为1:python setup.py egg_info检查日志以获得完整的命令输出

2024-09-30 08:17:05 发布

您现在位置:Python中文网/ 问答频道 /正文

我正试图在google colab中安装早期版本的inferpy,但我一直收到这个错误。我可以安装最新版本,没有错误。我尝试了适合本地机器的解决方案,但没有一个适合我

我的代码:

!pip install inferpy==0.0.3

我得到的错误是:

Using cached https://files.pythonhosted.org/packages/c3/d7/825b509d4067e09571f58a3ab86bdf0672134e67c51cb126c2e0d3a47127/inferpy-0.0.3.tar.gz
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

有没有办法解决这个问题? 谢谢


Tags: installpip代码https版本机器错误google
1条回答
网友
1楼 · 发布于 2024-09-30 08:17:05

根据project homepage,此旧版本仅适用于:

  • Python::2.7
  • Python::3.4

资料来源:https://pypi.org/project/inferpy/0.0.3/

您的colab笔记本很可能是在较新版本的python 3中,因此出现了错误(我在尝试使用unirest时遇到了类似的问题,这取决于只在python 2中工作的poster

您可能有一个选项this post中描述的选项:

Is there a way to use Python 3.5 instead of 3.6?

相关问题 更多 >

    热门问题