我正在使用google应用引擎创建一个访问预测api的应用程序。当我在网站上更新它的时候,我可以运行它,但是我不能在本地主机上运行它:8080。
我是一个绝对的菜鸟,任何帮助都是非常感谢的。
,这里是错误:
<type 'exceptions.IOError'>: [Errno 13] file not accessible: '/dev/urandom'
args = (13, 'file not accessible')
errno = 13
filename = '/dev/urandom'
message = ''
strerror = 'file not accessible' 发布于 2012-12-20 01:46:20
您是如何访问/dev/urandom的?该文件在生产中不可访问,不应在dev_appserver中访问。如果要生成随机数据,请使用os.urandom(),它将在本地和生产环境中正常工作。
https://stackoverflow.com/questions/13960806
复制相似问题