简体   繁体   中英

Python on Windows, installing 3dr solo command line, PermissionError: [Errno 13]

I am trying to install 3DR solo command line on Windows 10. Below is the exception that i get. i have been doing a lot of reading and googling. I couldnt figure out the permission denied problem. I have this part shutil.copyfile(srcfile, destfile), but i still get denied.

Exception: Traceback (most recent call last): File "c:\\python35\\lib\\site-packages\\pip\\basecommand.py", line 211, in main status = self.run(options, args)

File "c:\\python35\\lib\\site-packages\\pip\\commands\\install.py", line 311, in run root=options.root_path,

File "c:\\python35\\lib\\site-packages\\pip\\req\\req_set.py", line 646, in install **kwargs

File "c:\\python35\\lib\\site-packages\\pip\\req\\req_install.py", line 803, in install self.move_wheel_files(self.source_dir, root=root)

File "c:\\python35\\lib\\site-packages\\pip\\req\\req_install.py", line 998, in
move_wheel_files isolated=self.isolated,

File "c:\\python35\\lib\\site-packages\\pip\\wheel.py", line 339, in
move_wheel_files clobber(source, lib_dir, True)

File "c:\\python35\\lib\\site-packages\\pip\\wheel.py", line 317, in clobber
shutil.copyfile(srcfile, destfile)

File "c:\\python35\\lib\\shutil.py", line 115, in copyfile with open(dst, 'wb') as fdst:

PermissionError: [Errno 13] Permission denied: 'c:\\python35\\Lib\\site-packages\\_cffi_backend.cp35-win32.pyd'

这听起来很简单,但是您正在运行提升权限的命令行吗?

如果要升级cffi软件包,即您已经安装了cffi软件包,然后尝试将cffi升级到最新版本,请执行pip install xyz软件包,只需删除: c:\\python35\\Lib\\site-packages\\_cffi_backend.cp35-win32.pyd然后重试。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM