私は自分のRaspberry Piに任意のモジュールをインストールしようとすると、エラーメッセージが表示されます。Raspbianにpip3をインストールできないのはなぜですか?
error: could not create '/usr/local/lib/python3.4/dist-packages/pyowm': Permission denied
Cleaning up...
Command /usr/bin/python3 -c "import setuptools, tokenize;__file__='/tmp/pip-build-wb0cfq08/pyowm/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-qbxp58pn-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-wb0cfq08/pyowm
Storing debug log for failure in /home/pi/.pip/pip.log
どうすればこの問題を解決できますか?
コードサンプルのようなものを適切にフォーマットする方法を読んでいます。とりわけ、あなたの「大胆な言葉はちょうど「__」..」問題を解決します。 – larsks
とにかく、明確なエラーメッセージ(「許可が拒否されました」)が表示されているようです。そのディレクトリに書き込むには 'root 'である必要があります。 – larsks
スーパーユーザー(root)のsudoユーザーを経由しましたか? –