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

mac电脑执行任务报错,求🙏解决!感谢🙏 #674

Open
tsunny11 opened this issue Feb 10, 2025 · 1 comment
Open

mac电脑执行任务报错,求🙏解决!感谢🙏 #674

tsunny11 opened this issue Feb 10, 2025 · 1 comment

Comments

@tsunny11
Copy link

请问在执行任务的时候出现下面的报错应该怎么办呢?求指教!
Last login: Mon Feb 10 09:39:08 on ttys000
/Users/tsunny/Downloads/EasySpider_MacOS/easyspider_executestage_full ; exit;
(base) tsunny@tsunnydeMacBook-Pro ~ % /Users/tsunny/Downloads/EasySpider_MacOS/easyspider_executestage_full ; exit;
cd /Users/tsunny/Downloads/EasySpider_MacOS
./easyspider_executestage --ids '[0]' --user_data 1 --server_address http://localhost:8074 --config_folder "/Users/tsunny/Library/Application Support/EasySpider/" --headless 0 --read_type local --config_file_name config.json --saved_file_name
Configurations:
+------------------+------+-----------------------+
| Key | Type | Value |
+------------------+------+-----------------------+
| ids | list | [0] |
| saved_file_name | str | |
| user_data | bool | False |
| config_folder | str | |
| config_file_name | str | config.json |
| read_type | str | remote |
| headless | bool | False |
| server_address | str | http://localhost:8074 |
| keyboard | bool | True |
| pause_key | str | p |
| version | str | 0.6.3 |
| docker_driver | str | |
| user_folder | str | |
+------------------+------+-----------------------+

darwin ('64bit', '')
Traceback (most recent call last):
File "easyspider_executestage.py", line 2208, in
File "selenium/webdriver/chromium/options.py", line 103, in add_extension
OSError: Path to the extension doesn't exist
[2822] Failed to execute script 'easyspider_executestage' due to unhandled exception!

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

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

[进程已完

@1242128273wangpeng
Copy link

如果本地python版本2.x,试试修改python的版本。我改完可以运行了 https://www.cnblogs.com/fmixue/p/15904623.html

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

2 participants