Instapy Error 编译常见错误

错误 geckodriver.exe:

Exception has occurred: PermissionError
[Errno 13] Permission denied: 'C:\\Users\\***\\InstaPy\\assets\\geckodriver.exe'
File "C:\Users\***\instapy-quickstart-master\quickstart.py", line 15, in <module> session = InstaPy(username=insta_username,password=insta_password,headless_browser=True,multi_logs=True)
解决:
打开任务管理器,结束 geckodriver.exe 运行
错误 extension.xpi:
Traceback (most recent call last):
File "start.py", line 150, in
multi_logs=True)
File "C:\Users\X\AppData\Roaming\Python\Python37\site-packages\instapy\instapy.py", line 330, in init
self.logger,
File "C:\Users\X\AppData\Roaming\Python\Python37\site-packages\instapy\browser.py", line 132, in set_selenium_local_session
browser.install_addon(create_firefox_extension(), temporary=True)
File "C:\Users\X\AppData\Roaming\Python\Python37\site-packages\instapy\browser.py", line 49, in create_firefox_extension
with zipfile.ZipFile(zip_file, "w", zipfile.ZIP_DEFLATED, False) as zipf:
File "C:\Users\X\AppData\Local\Continuum\anaconda3\envs\instagram\lib\zipfile.py", line 1204, in init
self.fp = io.open(file, filemode)
OSError: [Errno 22] Invalid argument: 'C:\Users\X\InstaPy\assets\extension.xpi'
解决:
删除指定目录下的 extension.xpi 文件

人已赞赏
WooCommerce

WooCommerce 购物车页面添加显示SKU代码

2020-6-9 0:30:15

WooCommerce

Wordfence 无权限操作.user.ini文件

2020-7-23 10:58:58

各类网站开发

站长微信 710 342 444 或者扫一扫右侧二维码。
    0 条回复 A文章作者 M管理员
      暂无讨论,说说你的看法吧
    个人中心
    购物车
    优惠劵
    今日签到
    有新私信 私信列表
    搜索