Python 安装steem库时出现许可错误No 13
我正在尝试使用VMplayer和Python3.5在Ubuntu16.04上安装steem库 运行pip3 install steem时出现以下错误:Python 安装steem库时出现许可错误No 13,python,permissions,Python,Permissions,我正在尝试使用VMplayer和Python3.5在Ubuntu16.04上安装steem库 运行pip3 install steem时出现以下错误: Exception: Traceback (most recent call last): File "/home/orion/.local/lib/python3.5/site- packages/pip/basecommand.py", line 215, in main stat
Exception:
Traceback (most recent call last):
File "/home/orion/.local/lib/python3.5/site-
packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/home/orion/.local/lib/python3.5/site-
packages/pip/commands/install.py", line 342, in run
prefix=options.prefix_path,
File "/home/orion/.local/lib/python3.5/site-packages/pip/req/req_set.py",
line 784, in install
**kwargs
File "/home/orion/.local/lib/python3.5/site-
packages/pip/req/req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "/home/orion/.local/lib/python3.5/site-
packages/pip/req/req_install.py",
line 1064, in move_wheel_files
isolated=self.isolated,
File "/home/orion/.local/lib/python3.5/site-packages/pip/wheel.py", line
345,
in move_wheel_files
clobber(source, lib_dir, True)
File "/home/orion/.local/lib/python3.5/site-packages/pip/wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "/usr/lib/python3.5/shutil.py", line 115, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-
packages/appdirs.py'
以sudo的身份运行pip3 install命令以避免遇到任何权限问题:sudo pip3 install[PACKAGE]是否使用sudo运行该命令?噢,谢谢,它现在可以工作了: