pip install 超出最大递归深度

发布于 2024-09-27 08:07:41 字数 2012 浏览 2 评论 0原文

运行时出现错误

pip install datapkg

错误是这样的:

"RuntimeError: maximum recursion depth exceeded while calling a Python object"

部分回溯:

RuntimeError: maximum recursion depth exceeded while calling a Python object

----------------------------------------
Command /usr/bin/python -c "import setuptools; __file__='/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py'; execfile('/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py')" install --single-version-externally-managed --record /tmp/pip-dV62d0-record/install-record.txt --install-headers /home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/lib/include failed with error code 1
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
    self.run(options, args)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 410, in run
    requirement_set.install(install_options)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 2017, in install
    requirement.install(install_options)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 1515, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 3543, in call_subprocess
    % (command_desc, proc.returncode))
InstallationError: Command /usr/bin/python -c "import setuptools; __file__='/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py'; execfile('/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py')" install --single-version-externally-managed --record /tmp/pip-dV62d0-record/install-record.txt --install-headers /home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/lib/include failed with error code 1

我可以安装其他软件包。关于如何调试这个有什么想法吗?

I get an error when running

pip install datapkg

The error is this:

"RuntimeError: maximum recursion depth exceeded while calling a Python object"

Partial traceback:

RuntimeError: maximum recursion depth exceeded while calling a Python object

----------------------------------------
Command /usr/bin/python -c "import setuptools; __file__='/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py'; execfile('/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py')" install --single-version-externally-managed --record /tmp/pip-dV62d0-record/install-record.txt --install-headers /home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/lib/include failed with error code 1
Exception information:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
    self.run(options, args)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 410, in run
    requirement_set.install(install_options)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 2017, in install
    requirement.install(install_options)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 1515, in install
    cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 3543, in call_subprocess
    % (command_desc, proc.returncode))
InstallationError: Command /usr/bin/python -c "import setuptools; __file__='/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py'; execfile('/home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/build/datapkg/setup.py')" install --single-version-externally-managed --record /tmp/pip-dV62d0-record/install-record.txt --install-headers /home/okfn/var/srvc/data.staging.wheredoesmymoneygo.org/pyenv/src/wdmmg/lib/include failed with error code 1

I can install other packages okay. Any ideas on how to debug this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

野心澎湃 2024-10-04 08:07:41

您似乎正在尝试安装一些确实具有递归依赖项的软件包,例如 A->BB->CC->A

尝试解决这个问题。我不知道在任何情况下递归依赖是可以接受的。

It seems that you are trying to install some packages that do have recursive dependencies like A->B, B->C, C->A.

Try to resolve this problem. I do not know any case where a recursive dependency would be acceptable.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文