pip安装超过最大递归深度

时间:2010-10-15 19:28:57

标签: python pip

运行时出现错误

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

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

1 个答案:

答案 0 :(得分:0)

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

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