cvondrick / vatic

Efficiently Scaling Up Video Annotation with Crowdsourced Marketplaces. IJCV 2012

Home Page:http://mit.edu/vondrick/vatic/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError: cannot import name elements,WSGI script cannot be loaded as Python module

raulxty opened this issue · comments

“Before you continue, you should verify that the installation was correct. You can verify this with:

$ turkic status --verify”

Return the result
Testing access to Amazon Mechanical Turk... ERROR! Signature or access key missing /usr/local/lib/python2.7/dist-packages/SQLAlchemy-1.2.0b3-py2.7-linux-x86_64.egg/sqlalchemy/dialects/mysql/base.py:1723: Warning: (1287L, "'@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead") Testing access to database server... OK Testing access to web server... ERROR! HTTP Error 500: Internal Server Error
vim /var/log/apache2/error.log

`[Sun Dec 03 22:46:10.259911 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] mod_wsgi (pid=5809): Target WSGI script '/home/xty/vatic/vatic/server.py' cannot be loaded as Python module.

[Sun Dec 03 22:46:10.259943 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] mod_wsgi (pid=5809): Exception occurred processing WSGI script '/home/xty/vatic/vatic/server.py'.

[Sun Dec 03 22:46:10.259961 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] Traceback (most recent call last):

[Sun Dec 03 22:46:10.259978 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "/home/xty/vatic/vatic/server.py", line 5, in
[Sun Dec 03 22:46:10.260003 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] from turkic.server import handler, application

[Sun Dec 03 22:46:10.260011 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/turkic/server.py", line 15, in

[Sun Dec 03 22:46:10.260035 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] from turkic.database import session

[Sun Dec 03 22:46:10.260042 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "/usr/local/lib/python2.7/dist-packages/turkic-0.2.5-py2.7.egg/turkic/database.py", line 12, in

[Sun Dec 03 22:46:10.260049 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] from sqlalchemy import create_engine

[Sun Dec 03 22:46:10.260053 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "build/bdist.linux-x86_64/egg/sqlalchemy/init.py", line 9, in

[Sun Dec 03 22:46:10.260153 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "build/bdist.linux-x86_64/egg/sqlalchemy/sql/init.py", line 8, in

[Sun Dec 03 22:46:10.260223 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "build/bdist.linux-x86_64/egg/sqlalchemy/sql/expression.py", line 35, in

[Sun Dec 03 22:46:10.260288 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "build/bdist.linux-x86_64/egg/sqlalchemy/sql/functions.py", line 11, in

[Sun Dec 03 22:46:10.260353 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] File "build/bdist.linux-x86_64/egg/sqlalchemy/sql/sqltypes.py", line 17, in

[Sun Dec 03 22:46:10.260426 2017] [wsgi:error] [pid 5809:tid 139669191616256] [remote 127.0.0.1:55988] ImportError: cannot import name elements

`