运行时出现错误

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

我可以安装其他软件包了。关于如何调试的任何想法?

最佳答案

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

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

关于python - pip 安装超过最大递归深度,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/3945452/

10-16 19:00