我在 Windows 上有一个完美的 instapy 机器人,我想在 raspberry pi 上运行同样的东西,我买了一个 3b 模型,并按照这里所说的所有说明进行操作https://github.com/InstaPy/instapy-docs/blob /master/How_Tos/How_to_Raspberry.md
上述所有命令都已执行,但出现了一些错误,我相信 webdriver 存在一些问题,但我无法解决这里是错误,
._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._.
INFO [2021-06-04 19:53:06] [spotify.no_ads] Workspace in use: "/home/pi/Desktop/instagram/final-bot/InstaPy"
Traceback (most recent call last):
File "bug.py", line 168, in <module>
headless_browser=False)
File "/usr/local/lib/python3.7/dist-packages/instapy/instapy.py", line 338, in __init__
geckodriver_log_level,
File "/usr/local/lib/python3.7/dist-packages/instapy/browser.py", line 127, in set_selenium_local_session
options=firefox_options,
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
keep_alive=True)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
root@raspberrypi:/home/pi/Desktop/instagram/final-bot#
我以前从未使用过 raspi,所以如果您询问规格,也请告诉我如何找到它
火狐版本:78.11.0esr (32-bit)
壁虎驱动版本:geckodriver 0.23.0 ( 2018-10-04)