私はPythonでowlreadyライブラリを使用しようとしています。私は、リンク(https://pypi.python.org/pypi/Owlready)からファイルをダウンロードしたが、私はowlready輸入していたとき、私は次のようなエラーになっています:Pythonで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
あなたが 'あなたのボックスにインストールpip'を持っていますか?もしあなたがGnu/Linux OSを実行しているなら、 'sudo pip install Owlready'。そしてすべてが大丈夫です。 –
あなたは 'owlready'をどこに入れましたか? –