0

!pip install owlready2 <- 成功

从 owlready2 导入 * <- 出错


AttributeError                            Traceback (most recent call last)
<ipython-input-9-3120038513f7> in <module>()
----> 1 import owlready2
      2 
      3 onto = get_ontology("http://test.org/onto.owl")

/usr/local/lib/python3.7/dist-packages/owlready2/__init__.py in <module>()
     38 
     39 import owlready2.namespace, owlready2.entity, owlready2.prop, owlready2.class_construct, owlready2.triplelite
---> 40 owlready2.triplelite.Or                     = Or
     41 owlready2.namespace.EntityClass             = EntityClass
     42 owlready2.namespace.ThingClass              = ThingClass

AttributeError: module 'owlready2' has no attribute 'triplelite'enter code here
4

0 回答 0