pwin/owlready2

Problem installing Owlready2

munaibalhelali opened this issue · 0 comments

Hi everyone,
I am having a problem installing Owlready2. I have tried to use "pip3 install owlready2" as well as downloading the source code and using "python3 setup.py build" but either way I ended up with the same error as shown in the following output:

$ python3 setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/owlready2
copying ./annotation.py -> build/lib/owlready2
copying ./disjoint.py -> build/lib/owlready2
copying ./reasoning.py -> build/lib/owlready2
copying ./driver.py -> build/lib/owlready2
copying ./observe.py -> build/lib/owlready2
copying ./close.py -> build/lib/owlready2
copying ./entity.py -> build/lib/owlready2
copying ./rply.py -> build/lib/owlready2
copying ./owlxml_2_ntriples.py -> build/lib/owlready2
copying ./rule.py -> build/lib/owlready2
copying ./rdfxml_2_ntriples.py -> build/lib/owlready2
copying ./triplelite.py -> build/lib/owlready2
copying ./individual.py -> build/lib/owlready2
copying ./instance_editor.py -> build/lib/owlready2
copying ./base.py -> build/lib/owlready2
copying ./init.py -> build/lib/owlready2
copying ./instance_editor_qt.py -> build/lib/owlready2
copying ./prop.py -> build/lib/owlready2
copying ./ntriples_diff.py -> build/lib/owlready2
copying ./class_construct.py -> build/lib/owlready2
copying ./editor.py -> build/lib/owlready2
copying ./util.py -> build/lib/owlready2
copying ./rdflib_store.py -> build/lib/owlready2
copying ./namespace.py -> build/lib/owlready2
creating build/lib/owlready2/pymedtermino2
copying ./pymedtermino2/model.py -> build/lib/owlready2/pymedtermino2
copying ./pymedtermino2/init.py -> build/lib/owlready2/pymedtermino2
copying ./pymedtermino2/icd10_french.py -> build/lib/owlready2/pymedtermino2
copying ./pymedtermino2/umls.py -> build/lib/owlready2/pymedtermino2
copying ./owlready_ontology.owl -> build/lib/owlready2
creating build/lib/owlready2/hermit
copying ./hermit/HermiT.jar -> build/lib/owlready2/hermit
copying ./hermit/readme.txt -> build/lib/owlready2/hermit
creating build/lib/owlready2/hermit/org
creating build/lib/owlready2/hermit/org/semanticweb
creating build/lib/owlready2/hermit/org/semanticweb/HermiT
copying ./hermit/org/semanticweb/HermiT/Reasoner$ReasonerFactory.class -> build/lib/owlready2/hermit/org/semanticweb/HermiT
copying ./hermit/org/semanticweb/HermiT/Reasoner$2.class -> build/lib/owlready2/hermit/org/semanticweb/HermiT
copying ./hermit/org/semanticweb/HermiT/Reasoner$11.class -> build/lib/owlready2/hermit/org/semanticweb/HermiT
error: can't copy './hermit/org/semanticweb/HermiT/hierarchy': doesn't exist or not a regular file

How can I solve this problem?

Thanks in advance for the help

Edit:
I am using Ubuntu 16.04 with Python 3.7.9