Dependencies Management
Dependencies Management
Crawlab allows users to install and management dependencies for spiders and tasks.
Page Menu
Expand Dependencies
button on the left sidebar and click sub-menu items as below.
- Settings: Global dependencies settings
- Python: Python dependencies management
- Node.js: Node.js dependencies management
Install Dependencies
- Navigate to the dependencies management page (Python/Node.js)
- Click on
Installable
button - Enter search keywords and click on
Search
button - Click on
Install
button - Select
Mode
(which nodes to install) andUpgrade
(whether to upgrade) and clickConfirm
button
Uninstall Dependencies
- Navigate to the dependencies management page (Python/Node.js)
- Click on
Uninstall
button to uninstall the dependency - Select
Mode
(which nodes to install) and clickConfirm
button
Settings
- Navigate to the dependencies management page (Settings)
- Click on
Configure
button - Edit the configuration and click on
Confirm
button
Settings description:
- Command: executable command for installing/uninstalling dependencies. E.g.
pip
,/usr/local/bin/pip39
,npm
,yarn
- Proxy: proxy for installing/uninstalling dependencies. E.g.
https://registry.npm.taobao.org
orhttps://pypi.tuna.tsinghua.edu.cn/simple
Tasks
- Navigate to the dependencies management page (Python/Node.js)
- Click on
Tasks
button - You can view install/uninstall tasks
- Click on
Logs
button to view logs - You can view logs of given tasks