Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Macbook操作的问题请教! #670

Open
human88888 opened this issue Jan 30, 2025 · 0 comments
Open

Macbook操作的问题请教! #670

human88888 opened this issue Jan 30, 2025 · 0 comments

Comments

@human88888
Copy link

Cannot automatically check new version, please use the following command to check whether a new version avaliable and upgrade by pip:
pip index versions commandline_config
pip install commandline --upgrade
darwin ('64bit', '')
EasySpider.app/Contents/Resources/app/chromedriver_mac64
<selenium.webdriver.chrome.options.Options object at 0x108d27b50>
easyspider_executestage.py:775: DeprecationWarning: executable_path has been deprecated, please pass in a Service object
easyspider_executestage.py:775: DeprecationWarning: use options instead of chrome_options
Traceback (most recent call last):
File "selenium/webdriver/common/service.py", line 71, in start
File "subprocess.py", line 951, in init
File "subprocess.py", line 1821, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'EasySpider.app/Contents/Resources/app/chromedriver_mac64'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "easyspider_executestage.py", line 775, in
File "selenium/webdriver/chrome/webdriver.py", line 69, in init
File "selenium/webdriver/chromium/webdriver.py", line 89, in init
File "selenium/webdriver/common/service.py", line 81, in start
selenium.common.exceptions.WebDriverException: Message: 'chromedriver_mac64' executable needs to be in PATH. Please see https://chromedriver.chromium.org/home

[19438] Failed to execute script 'easyspider_executestage' due to unhandled exception!
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "easyspider_executestage.py", line 674, in clean
File "easyspider_executestage.py", line 660, in saveData
TypeError: can only concatenate str (not "NoneType") to str

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[进程已完成]

有高手知道什么原因吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant