我正在尝试在 Python 中使用 owlready 库。我从链接( https://pypi.python.org/pypi/Owlready )下载了文件,但是当我导入 owlready 时出现以下错误:
>>> from owlready import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'owlready'
我尝试运行:
pip install owlready
我得到错误:
error: could not create '/usr/local/lib/python3.4/dist-packages/owlready': Permission denied