Open szentigrad3 opened 11 years ago
What version of sqlalchemy do you have installed? Post your results of
pip freeze
Also, goonpug-stats is essentially deprecated now. There's a new and better system that I haven't open sourced yet, but it is coming eventually.
Babel==0.9.4 Flask==0.10.1 Flask-Login==0.2.7 Flask-OpenID==1.1.1 Flask-Restless==0.12.0 Flask-SQLAlchemy==1.0 Jinja2==2.7.1 MarkupSafe==0.18 PIL==1.1.6 Paste==1.7.4 Pygments==1.1.1 SQLAlchemy==0.5.5 Sphinx==0.6.6 Werkzeug==0.9.4 distribute==0.6.10 docutils==0.6 gyp==0.1 iniparse==0.3.1 itsdangerous==0.23 psycopg2==2.0.14 pyOpenSSL==0.10 pycurl==7.19.0 pygpgme==0.1 pysrcds==0.1.3 python-dateutil==2.1 python-openid==2.2.5 six==1.4.1 urlgrabber==3.9.1 yum-metadata-parser==1.1.2
i fixed it by upgrading SQLAlchemy, i am now getting
/usr/lib/python2.6/site-packages/flask_login.py:133: DeprecationWarning: Warning setup_app is deprecated. Please use init_app. DeprecationWarning)
i'm not sure what i've done wrong but i installed all the requirements and this popped up
Traceback (most recent call last): File "run.py", line 5, in
from goonpug import app
File "/home/esports/public_html/stats/goonpug/init.py", line 21, in
from flask.ext.sqlalchemy import SQLAlchemy
File "/usr/lib/python2.6/site-packages/flask/exthook.py", line 81, in load_module
reraise(exc_type, exc_value, tb.tb_next)
File "/usr/lib/python2.6/site-packages/flask_sqlalchemy/init.py", line 24, in
from sqlalchemy import orm, event
ImportError: cannot import name event