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

Change the version of rdflib in requirements.txt to rdflib >= 6.0.2, <=6.1.1 #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

st143575
Copy link

@st143575 st143575 commented Sep 3, 2024

For python3.11, executing ontology_viz.py raises the following error:
Traceback (most recent call last):
File ".../ontology-visualization-master/ontology_viz.py", line 6, in
from rdflib.plugins.sparql import prepareQuery
File ".../condaenvs/ontology_vis/lib/python3.11/site-packages/rdflib/plugins/sparql/init.py", line 33, in
from . import parser
File ".../condaenvs/ontology_vis/lib/python3.11/site-packages/rdflib/plugins/sparql/parser.py", line 198, in
PNAME_NS = Optional(Param("prefix", PN_PREFIX)) + Suppress(":").leaveWhitespace()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../condaenvs/ontology_vis/lib/python3.11/site-packages/rdflib/plugins/sparql/parserutils.py", line 114, in init
self.name = name
^^^^^^^^^
AttributeError: property 'name' of 'Param' object has no setter

…txt to rdflib >= 6.0.2, <=6.1.1, since versions in [6.0.0, 6.0.2) and in (6.1.1, 7.0.0) raise the following error: AttributeError: property name of Param object has no setter.
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

Successfully merging this pull request may close these issues.

1 participant