I have returned to 0.38 and I have errors

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

I have returned to 0.38 and I have errors

Pakbi
C:\Users\Pasquale Bonasia\Downloads\OntoPharma>python ./main.py
* Owlready2 * Warning: optimized Cython parser module 'owlready2_optimized' is not available, defaulting to slower Python implementation
Traceback (most recent call last):
  File "./main.py", line 275, in compatibilita
    ?p onto:contenuto <'''+ farm.iri+'''> .}'''))
  File "C:\Users\Pasquale Bonasia\AppData\Local\Programs\Python\Python37\lib\site-packages\owlready2\rdflib_store.py", line 187, in query_owlready
    r = self.query(query, *args, **kargs)
  File "C:\Users\Pasquale Bonasia\AppData\Local\Programs\Python\Python37\lib\site-packages\rdflib\graph.py", line 1127, in query
    result = plugin.get(result, query.Result)
  File "C:\Users\Pasquale Bonasia\AppData\Local\Programs\Python\Python37\lib\site-packages\rdflib\plugin.py", line 107, in get
    return p.getClass()
  File "C:\Users\Pasquale Bonasia\AppData\Local\Programs\Python\Python37\lib\site-packages\rdflib\plugin.py", line 69, in getClass
    module = __import__(self.module_path, globals(), locals(), [""])
  File "C:\Users\Pasquale Bonasia\AppData\Local\Programs\Python\Python37\lib\site-packages\rdflib\plugins\sparql\__init__.py", line 33, in <module>
    from . import parser
  File "C:\Users\Pasquale Bonasia\AppData\Local\Programs\Python\Python37\lib\site-packages\rdflib\plugins\sparql\parser.py", line 184, in <module>
    Param('prefix', PN_PREFIX)) + Suppress(':').leaveWhitespace()
  File "C:\Users\Pasquale Bonasia\AppData\Local\Programs\Python\Python37\lib\site-packages\rdflib\plugins\sparql\parserutils.py", line 114, in __init__
    self.name = name
AttributeError: can't set attribute