Skip to content

MacOS 10.x系统编译运行方式 #69

@NaiboWang

Description

@NaiboWang

对于MacOS 10.x系统,下载EasySpider后,设计任务时可正常使用,执行任务时需手动编译运行,方式为:

  1. 下载源代码:
    image
  2. 解压后,打开命令行,进入ExecuteStage文件夹,然后运行pip3 install -r requirements.txt命令:
cd Downloads/EasySpider-master/ExecuteStage
pip3 install -r requirements.txt
  1. 拷贝easyspider_executestage.py文件到之前下载好的EasySpider文件夹(带easyspider_executestage可执行文件的那个文件夹):

image

  1. 命令行进入此文件夹,然后将提示命令中的./easyspider_executestage替换成python3 easyspider_executestage.py 后面不变:
cd 你的EasySpider文件夹,如:cd /Users/你的用户名/Downloads/EasySpider_MacOS_all_arch
python3 easyspider_executestage.py --id '[3]' --user_data 0 --server_address http://localhost:8074 --config_folder "/Users/panbing/Library/Application Support/EasySpider/" --headless 0 --read_type remote --config_file_name config.json --saved_file_name 

即可执行任务。

Originally posted by @NaiboWang in #65 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions