Can't complete installtion of owlready2

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't complete installtion of owlready2

jefferc
pip install omlready2
 error:
Collecting owlready2
  Using cached owlready2-0.48.tar.gz (27.3 MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'

... and error for this line:
from owlready2 import get_ontology, sync_reasoner_pellet

--> ModuleNotFound: No module named 'oewlready2'

I'm on Windows 11 working local.  However, when I use Anaconda online version, the installation completes.

Please help!
Reply | Threaded
Open this post in threaded view
|

Re: Can't complete installtion of owlready2

Jiba
Administrator
Hi,

Are you sure the error message is "No module named 'oewlready2'" and not 'owlready2' ?

If it is "oewlready2", it should be replaced by "owlready2", but I was unable to find "oewlready2" in the source.

If it is "owlready2", then there is probably a problem of Python path on you configuration.

Alternatively, you can use Owlready2 without installation : just unzip the sources, rename the directory "owlready2" and put it inside any directory listed in sys.path / Python path.

Jiba