在会话开始时产生的错误,它在开始时工作,但过了一段时间后它自己就崩溃了。
Traceback (most recent call last):
File "C:\Users\Desktop\InstaPy-master\quickstart.py", line 12, in <module>
session = InstaPy( username=insta_username, password=insta_password)
File "C:\Users\Desktop\InstaPy-master\instapy\instapy.py", line 319, in __init__
self.logger,
File "C:\Users\Desktop\InstaPy-master\instapy\browser.py", line 114, in set_selenium_local_session
driver_path = geckodriver_path or get_geckodriver()
File "C:\Users\Desktop\InstaPy-master\instapy\browser.py", line 36, in get_geckodriver
bin_path, sym_path = gdd.download_and_install()
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 196, in download_and_install
shutil.copy2(src_file, dest_file)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 263, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "C:\Users\AppData\Local\Programs\Python\Python37\lib\shutil.py", line 121, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\dalto\\InstaPy\\assets\\geckodriver.exe'
问题来源StackOverflow 地址:/questions/59383675/what-is-the-cause-permission-error-in-instapy
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。