gpt4 book ai didi

linux - 为什么我不能在Raspbian上安装pip3?

转载 作者:太空宇宙 更新时间:2023-11-04 06:00:26 25 4
gpt4 key购买 nike

每当我尝试在Raspberry Pi上安装任何模块时,都会收到错误消息。

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


我怎样才能解决这个问题?

最佳答案

以root权限运行命令

关于linux - 为什么我不能在Raspbian上安装pip3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41792002/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com