Skip to content

scrapy_price_monito (requirements_error) #11

@duongntse

Description

@duongntse

I followed the tutorial to run the project "scrapy_price_monito" as the link:
(https://github.com/scrapinghub/sample-projects/tree/master/scrapy_price_monitor#installing-and-running)
When I go to "step 7 - hub deploy <your_project_id_here>"

The ScrapingHub throwed error as below:

##############START################

shub deploy 482071
Packing version 23fadd3-master
Deploying to Scrapy Cloud project "482071"
Deploy log last 30 lines:
Removing intermediate container 8a32420b04ae
---> bc794867e1a9
Step 12/12 : ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
---> [Warning] Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
---> Running in f21786580c1f
Removing intermediate container f21786580c1f
---> 673538660e3a
Successfully built 673538660e3a
Successfully tagged i.scrapinghub.com/kumo_project/482071:1
Step 1/3 : FROM alpine:3.5
---> f80194ae2e0c
Step 2/3 : ADD kumo-entrypoint /kumo-entrypoint
---> Using cache
---> b6085fc56e21
Step 3/3 : RUN chmod +x /kumo-entrypoint
---> Using cache
---> 1bbe2a121e2b
Successfully built 1bbe2a121e2b
Successfully tagged kumo-entrypoint:latest
Entrypoint container is created successfully

Checking python dependencies
Collecting pip<20.0,>=9.0.3
Downloading https://files.pythonhosted.org/packages/00/b6/9cfa56b4081ad13874b0c6f96af8ce16cfbc1cb06bedf8e9164ce5551ec1/pip-19.3.1-py2.py3-none-any.whl (1.4MB)
Installing collected packages: pip
Successfully installed pip-19.3.1
requests 2.25.0 has requirement idna<3,>=2.5, but you have idna 2.1.
Warning: Pip checks failed, please fix the conflicts.
{"message": "Dependencies check exit code: 1", "details": "Pip checks failed, please fix the conflicts", "error": "requirements_error"}

{"status": "error", "message": "Requirements error"}
Deploy log location: /tmp/shub_deploy_3xl5dnaq.log

##############END################

Could you please help me to fix it?

Thanks alot!,

Harry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions