pip install 超出最大递归深度
运行时出现错误
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您似乎正在尝试安装一些确实具有递归依赖项的软件包,例如
A->B
、B->C
、C->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.