简体   繁体   English

Python和Google App Engine访问问题

[英]Python and Google App Engine access issue

I followed the install for GAE and tried a tutorial. 我遵循GAE的安装说明并尝试了教程。 Getting: 获得:

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 is changed away from the AppData folder which was causing issues as per every other SO solution. PYTHON_EGG_CACHE已从AppData文件夹更改为其他每个SO解决方案都引起了问题。 I checked permissions for the user and Admin, full control. 我检查了用户和管理员的权限,完全控制。 I am running SDK as administrator. 我以管理员身份运行SDK。

The error is with pyyaml, to fix this uninstall pyyaml and reinstall with -Z 错误与pyyaml有关,要修复此卸载pyyaml并使用-Z重新安装

I did: 我做了:

easy_install -Z pyyaml

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM