报错1:AttributeError: 'Pool' object has no attribute 'get'
解决:参考 Pool — aiomysql 0.1.2.dev106+g83aa96e documentation ,将get()方法改为 acquire()
报错2:NameError: name '__pool' is not defined
解决: 将from www import orm 改为 import orm 参考**:https://github.com/michaelliao/awesome-python3-webapp/issues/32**
Sign in to make a reply
流云
报错1:AttributeError: 'Pool' object has no attribute 'get'
解决:参考 Pool — aiomysql 0.1.2.dev106+g83aa96e documentation ,将get()方法改为 acquire()
报错2:NameError: name '__pool' is not defined
解决: 将from www import orm 改为 import orm 参考**:https://github.com/michaelliao/awesome-python3-webapp/issues/32**