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

Errors when using rdflib 5.0.0 #4

Open
gneissone opened this issue May 10, 2020 · 0 comments
Open

Errors when using rdflib 5.0.0 #4

gneissone opened this issue May 10, 2020 · 0 comments

Comments

@gneissone
Copy link

gneissone commented May 10, 2020

I am receiving an error with the vivo-rdflib-sparqlstore library when using it with rdflib 5.0.0.

Traceback (most recent call last):
  File "people.py", line 20, in <module>
    from lib import backend
  File "/Users/benjamingross/Documents/git/.../toolkit/lib/backend.py", line 15, in <module>
    from vstore import VIVOUpdateStore
  File "/Users/benjamingross/Documents/git/.../toolkit/venv3/lib/python3.6/site-packages/vstore/__init__.py", line 1, in <module>
    from .vstore import VIVOStore, VIVOUpdateStore
  File "/Users/benjamingross/Documents/git/.../toolkit/venv3/lib/python3.6/site-packages/vstore/vstore.py", line 8, in <module>
    from rdflib.plugins.stores.sparqlstore import (
ImportError: cannot import name 'NSSPARQLWrapper'

I believe the core issue is that rdflib previously included a SPARQLWrapper dependency, but that changed with rdflib 5.0.0.

See RDFLib/rdflib#744.
rdflib 5.0.0 documentation is here: https://rdflib.readthedocs.io/en/stable/

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