开发者

GAE import error

开发者 https://www.devze.com 2023-01-21 15:55 出处:网络
开发者_运维百科I am trying to use this python module HTML.py but GAE gives meImportError: No module named HTML

开发者_运维百科I am trying to use this python module HTML.py but GAE gives me ImportError: No module named HTML

According to IDLE path browser the path is here:

C:\Python26\lib\site-packages\HTML.py

Can anyone help me to fix this problem?

Thank you


If you put HTML.py in your applications root directory, where app.yaml is at. It should work, assuming HTML.py does not use any non-whitelisted modules.

You should use Python 2.5. It will probably save you from some future headaches. I think this is also mentioned in the App Engine Python Overview.

0

精彩评论

暂无评论...
验证码 换一张
取 消