Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lookup-service-sqlite.py fails importing SPARQLWrapper #2

Open
talentoscope opened this issue Oct 1, 2016 · 1 comment
Open

lookup-service-sqlite.py fails importing SPARQLWrapper #2

talentoscope opened this issue Oct 1, 2016 · 1 comment

Comments

@talentoscope
Copy link

./lookup-service-sqlite.py labels.db

Traceback (most recent call last):
File "./lookup-service-sqlite.py", line 5, in
from SPARQLWrapper import SPARQLWrapper, JSON
ImportError: No module named SPARQLWrapper

Followed the instructions in README.md to the letter, and the above happens when trying to run the sqlite lookup service.
The other label lookup service lookup-service.py works with no issue.

Maybe something is a prerequisite that isn't in the readme perhaps?

@talentoscope
Copy link
Author

Installing python-setuptools and using pip to install flask and SPARQLWrapper worked in Ubuntu 16.04 as opposed to the pypy option. This may be a path issue or similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant