0

运行此行时出现以下错误,from owlready2 import *

(onto) C:\FYP\Onto>py testonto.py
Traceback (most recent call last):
  File "testonto.py", line 2, in <module>
    from owlready2 import *
  File "C:\FYP\Onto\onto\lib\site-packages\owlready2\__init__.py", line 129, in <module>
    default_world = IRIS = World()
  File "C:\FYP\Onto\onto\lib\site-packages\owlready2\namespace.py", line 443, in __init__
    self.set_backend(backend, filename, dbname, **kargs)
  File "C:\FYP\Onto\onto\lib\site-packages\owlready2\namespace.py", line 453, in set_backend
    self.graph = Graph(filename, world = self, **kargs)
  File "C:\FYP\Onto\onto\lib\site-packages\owlready2\triplelite.py", line 173, in __init__
    self.analyze()
  File "C:\FYP\Onto\onto\lib\site-packages\owlready2\triplelite.py", line 403, in analyze
    self.execute("""ANALYZE sqlite_schema""")
sqlite3.OperationalError: no such table: sqlite_schema

python 3.8.3版有什么解决办法吗?先感谢您

4

1 回答 1

0

升级你的 sqlite 版本有3.33.0帮助吗?

于 2021-06-13T03:57:27.943 回答