NaiboWang / EasySpider

A visual no-code/code-free web crawler/spider易采集:一个可视化浏览器自动化测试/数据采集/爬虫软件,可以无代码图形化的设计和执行爬虫任务。别名:ServiceWrapper面向Web应用的智能化服务封装系统。
https://www.easyspider.net
Other
29.07k stars 3.41k forks source link

Mac10.15.7 python3.9编译0.6.2出错,请帮助。 #455

Open Kai-0 opened 4 days ago

Kai-0 commented 4 days ago

(EasySpider-venv) kai@kaideMacBook-Pro executestage % python easyspider_executestage.py --ids '[3]' --user_data 0 --server_address http://localhost:8074 --config_folder "./" --headless 0 --read_type remote --config_file_name config.json --saved_file_name

Configurations: +------------------+------+-----------------------+ | Key | Type | Value | +------------------+------+-----------------------+ | ids | list | [3] | | 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.2 | | docker_driver | str | | +------------------+------+-----------------------+

darwin ('64bit', '') Traceback (most recent call last): File "/Users/kai/Documents/Dev/EasySpider-venv/ExecuteStage/easyspider_executestage.py", line 2233, in options.add_extension( File "/Users/kai/Documents/Dev/EasySpider-venv/lib/python3.9/site-packages/selenium/webdriver/chromium/options.py", line 101, in add_extension raise OSError("Path to the extension doesn't exist") OSError: Path to the extension doesn't exist

zhaoyajie1011 commented 4 days ago

我也遇到了同样的问题:

zhaoyajie1011 commented 4 days ago

./easyspider_executestage --ids '[0]' --user_data 0 --server_address http://localhost:8074 --config_folder "/Users/xxx/Library/Application\ Support/EasySpider/" --headless 0 --read_type local --config_file_name config.json --saved_file_name /Users/xxx/Downloads/111111.txt OCR识别无法在当前环境下使用(ddddocr库缺失),请使用完整版执行器easyspider_executestage_full来运行需要OCR识别的任务。 OCR recognition cannot be used in the current environment (ddddocr library is missing), please use the executor with ddddocr 'easyspider_executestage_full' to run the task which requires OCR recognition. 数据去重无法在当前环境下使用(pandas库缺失),请使用完整版执行器easyspider_executestage_full来运行需要去重的任务。 Data deduplication cannot be used in the current environment (pandas library is missing), please use the executor with pandas 'easyspider_executestage_full' to run the task which requires data deduplication.

Configurations: +------------------+------+-----------------------------------------------------------+ | Key | Type | Value | +------------------+------+-----------------------------------------------------------+ | ids | list | [0] | | saved_file_name | str | /Users/xxx/Downloads/111111.txt | | user_data | bool | False | | config_folder | str | /Users/xxx/Library/Application\ Support/EasySpider/ | | config_file_name | str | config.json | | read_type | str | local | | headless | bool | False | | server_address | str | http://localhost:8074 | | keyboard | bool | True | | pause_key | str | p | | version | str | 0.6.2 | +------------------+------+-----------------------------------------------------------+

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', '') Traceback (most recent call last): File "easyspider_executestage.py", line 2266, in File "selenium/webdriver/chromium/options.py", line 101, in add_extension OSError: Path to the extension doesn't exist [10427] Failed to execute script 'easyspider_executestage' due to unhandled exception!

zhaoyajie1011 commented 4 days ago

image

NaiboWang commented 4 days ago

下载一个能用的EasySpider,把它放到ExecuteStage文件夹里再试试。