我想在谷歌的應用引擎上使用buildout運行金字塔應用程序。我跟着這個鏈接gae_buildout並在運行buildout時遇到了問題。儘管seetuptools安裝在虛擬環境中,但它顯示「setuptools not found error」。我嘗試了幾項工作,沒有任何結果,對此有何看法?金字塔谷歌的App引擎使用buildout導致setuptools找不到錯誤
找到下面的錯誤跟蹤。我正在使用金字塔1.4版本。
An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "c:\myenv\newproject\eggs\zc.buildout-2.2.1-py2.7.egg\zc\buildout\buildou
t.py", line 1942, in main
getattr(buildout, command)(args)
File "c:\myenv\newproject\eggs\zc.buildout-2.2.1-py2.7.egg\zc\buildout\buildou
t.py", line 622, in install
installed_files = self[part]._call(recipe.install)
File "c:\myenv\newproject\eggs\zc.buildout-2.2.1-py2.7.egg\zc\buildout\buildou
t.py", line 1366, in _call
return f()
File "c:\myenv\newproject\eggs\rod.recipe.appengine-2.0.2-py2.7.egg\rod\recipe
\appengine\__init__.py", line 377, in install
self.copy_packages(ws, temp_dir)
File "c:\myenv\newproject\eggs\rod.recipe.appengine-2.0.2-py2.7.egg\rod\recipe
\appengine\__init__.py", line 284, in copy_packages
self.write_pkg_resources(ws, lib)
File "c:\myenv\newproject\eggs\rod.recipe.appengine-2.0.2-py2.7.egg\rod\recipe
\appengine\__init__.py", line 267, in write_pkg_resources
assert len(setuptools_eggs) == 1, "setuptools not found"
AssertionError: setuptools not found
爲什麼不直接在gae_buildout問題跟蹤器上打開問題? –
這不是爲了建立一個**開發環境嗎?我不認爲buildout支持所有**上的應用引擎**。 –
構建配方適用於appengine - 構建開發環境。我會解決這個問題。您可以將setup_tools添加到buildout.cfg。過去我使用過rod.recipe.appengine,但我沒有使用過gae_buildout。 –