Python和Google App Engine访问问题

时间:2014-12-23 17:25:06

标签: python google-app-engine

我按照GAE的安装并尝试了一个教程。获得:

The following error occurred while trying to extract file(s) to the Python egg
cache:

  [Error 5] Access is denied: 'C:\\Users\\User\\Documents\\app\\django\\pyyaml-3.10-py2.7-win32.egg-tmp\\_yaml.pyd'

The Python egg cache directory is currently set to:

  C:\Users\User\Documents\app\django

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

PYTHON_EGG_CACHE已从AppData文件夹更改,这导致每个其他SO解决方案出现问题。 我检查了用户和管理员的权限,完全控制。我以管理员身份运行SDK。

1 个答案:

答案 0 :(得分:0)

错误是pyyaml,修复此卸载pyyaml并重新安装-Z

我做了:

easy_install -Z pyyaml

感谢https://code.google.com/p/googleappengine/issues/detail?id=9069