我想在码头安装爬虫avec setuptools。
在我的scrapy.cfg文件中有:
[deploy=test]
url = http://localhost:6800/
project = Crawling我用scrapyd-deploy -l测试
test http://localhost:6800/在我的setup.py中,我从setuptools导入设置,find_packages
setup(
name = 'Crawling',
version = '1.0',
packages = find_packages(),
entry_points = {'scrapy': ['settings = Crawling.settings']},
install_requires=['scrapy-crawlera'],
)最后,在我的requires.txt中,我有scrapy-crawlera,但是爬虫不是安装在我的码头上的。
发布于 2017-03-24 15:16:03
没有正确安装码头,我通过重新安装码头来解决问题。
https://stackoverflow.com/questions/42999063
复制相似问题