brmson / label-lookup

Stand-alone service for fuzzy lookup of string labels of resources
Apache License 2.0
18 stars 8 forks source link

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

Open talentoscope opened 8 years ago

talentoscope commented 8 years ago

./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 commented 8 years ago

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.