Get a ModuleNotFoundError when installing owlready

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

Get a ModuleNotFoundError when installing owlready

William

I got an error when installing owlready with pip, says,
ModuleNotFoundError: No module named '_distutils_hack'

PS: python3.8, in macOS
Reply | Threaded
Open this post in threaded view
|

Re: Get a ModuleNotFoundError when installing owlready

Jiba
Administrator
Hi,

This problem seems not specific to Owlready; it is encountered when installing other modules too. It's probably a problem with Distutils?

If you stil cannot manage to install Owlready, you can install it by hand: just rename the Owlready directory (e.g. "Owlready2-0.31") to "owlready", and put it in your PYTHONPATH.

Jiba