0

I am trying to use the owlready library in Python. I downloaded the file from link(https://pypi.python.org/pypi/Owlready) but when I am importing owlready I am getting following error:

>>> from owlready import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'owlready'

I tried running:

pip install owlready

I am get the error:

error: could not create '/usr/local/lib/python3.4/dist-packages/owlready': Permission denied
Stanislav Kralin
  • 10,115
  • 4
  • 30
  • 52
neha pawar
  • 177
  • 2
  • 3
  • 14

2 Answers2

2

Try installing it using pip instead.

Run the command pip install <module name here> to do so. If you are using python3, run pip3 install <module name here>.

If neither of these work you may also try:

python -m pip install <module name here>

or

python3 -m pip install <module name here>

If you don't yet have pip, you should probably get it. Very commonly used python package manager. Here are some details on how to set the tool up.

Community
  • 1
  • 1
xandermonkey
  • 2,775
  • 2
  • 22
  • 39
-3

You need installed library:

C:\PythonX.X\Scripts

    pip install owlready

Successfully installed Owlready-0.3
Caleb Kleveter
  • 10,260
  • 8
  • 56
  • 79