我在使用 buildout 时遇到问题。我下载 bootstrap.py 使用,
wget http://downloads.buildout.org/2/bootstrap.py
构建.cfg
[buildout]
parts = python
django
develop = .
eggs = beautifulsoup
.....
[python]
recipe = zc.recipe.egg
interpreter = python
eggs = ${buildout:eggs}
[django]
recipe = djangorecipe
wsgi = true
eggs = ${buildout:eggs}
当我尝试./bin/buildout时。我收到以下错误。
Upgraded:
distribute version 0.6.35;
restarting.
Generated script '/home/tests/myproject/bin/buildout'.
Develop: '/home/tests/myproject/.'
While:
Installing.
Processing develop directory '/home/tests/myproject/.'.
An internal error occured due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/tests/myproject/eggs/zc.buildout-2.0.1-py2.7.egg/zc/buildout/buildout.py", line 1808, in main
getattr(buildout, command)(args)
File "/home/tests/myproject/eggs/zc.buildout-2.0.1-py2.7.egg/zc/buildout/buildout.py", line 468, in install
installed_develop_eggs = self._develop()
File "/home/tests/myproject/eggs/zc.buildout-2.0.1-py2.7.egg/zc/buildout/buildout.py", line 709, in _develop
zc.buildout.easy_install.develop(setup, dest)
File "/home/tests/myproject/eggs/zc.buildout-2.0.1-py2.7.egg/zc/buildout/easy_install.py", line 862, in develop
return _copyeggs(tmp3, dest, '.egg-link', undo)
File "/home/tests//eggs/zc.buildout-2.0.1-py2.7.egg/zc/buildout/easy_install.py", line 803, in _copyeggs
assert len(result) == 1, str(result)
AssertionError: []
任何人都可以帮我解决它。