箱子zc.大厦

2024-05-29 03:56:01 发布

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

An internal error occurred due to a bug in either zc.buildout or in a
    recipe being used:
    Traceback (most recent call last):
      File "/home/david/xbob.db.nist_sre12-1.1.1/eggs/zc.buildout-2.12.2-py2.7.egg/zc/buildout/buildout.py", line 2128, in main
        getattr(buildout, command)(args)
      File "/home/david/xbob.db.nist_sre12-1.1.1/eggs/zc.buildout-2.12.2-py2.7.egg/zc/buildout/buildout.py", line 798, in install
        installed_files = self[part]._call(recipe.install)
      File "/home/david/xbob.db.nist_sre12-1.1.1/eggs/zc.buildout-2.12.2-py2.7.egg/zc/buildout/buildout.py", line 1558, in _call
        return f()
      File "/home/david/xbob.db.nist_sre12-1.1.1/eggs/xbob.buildout-1.0.4-py2.7.egg/xbob/buildout/scripts.py", line 244, in install
        self.coverage.install_on_wrapped_env() + \
      File "/home/david/xbob.db.nist_sre12-1.1.1/eggs/xbob.buildout-1.0.4-py2.7.egg/xbob/buildout/python.py", line 83, in install_on_wrapped_env
        'paths': os.pathsep.join(tools.get_pythonpath(ws, self.buildout['buildout'], self.prefixes)),
      File "/home/david/xbob.db.nist_sre12-1.1.1/eggs/xbob.buildout-1.0.4-py2.7.egg/xbob/buildout/tools.py", line 242, in get_pythonpath
        prepend_path(zc.buildout.easy_install.setuptools_loc, paths)
    AttributeError: 'module' object has no attribute 'setuptools_loc'

尝试安装buildout并返回此错误可能是什么问题zc.buildout公司-2.12.2-py2.7.鸡蛋。你知道吗


Tags: installinpyhomedbegglinebuildout
1条回答
网友
1楼 · 发布于 2024-05-29 03:56:01

您正在使用xbob.buildout公司扩展名(https://pypi.org/project/xbob.buildout/),它显然对路径做了一些修改。为此,它在zc.buildout.easy_install中使用了setuptools_loc属性,而这个属性显然已经不存在了。你知道吗

所讨论的行是removed in January 2017,该行是处理旧setuptools/distribute差异的代码的一部分。不再需要了。你知道吗

所以你应该看看xbob.buildout公司可调整(最新版本自2015年起)。或者您可以尝试选择一个旧的构建(包括一个旧的setuptools)。你知道吗

相关问题 更多 >

    热门问题