No recent searches
Popular Articles
Sorry! nothing found for
Posted 21 days ago by Tuan Nguyen
I met an error while deploying my project
t.
(env) etuannv@F2023 modern_scrapy % shub deploy /Users/etuannv/2022_free/modern_scrapy/env/lib/python3.11/site-packages/_distutils_hack/__init__.py:30: UserWarning: Setuptools is replacing distutils. Support for replacing an already imported distutils is deprecated. In the future, this condition will fail. Register concerns at https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml warnings.warn( Packing version f117867-main Deploying to Scrapy Cloud project "587672" Deploy log last 30 lines: ---> Removed intermediate container c1f53b02d9cd ---> d97babcba1bf Successfully built d97babcba1bf Successfully tagged i.scrapinghub.com/kumo_project/587672:258 Step 1/3 : FROM alpine:3.6 ---> 43773d1dba76 Step 2/3 : ADD kumo-entrypoint /kumo-entrypoint ---> Using cache ---> 839e7a69369e Step 3/3 : RUN chmod +x /kumo-entrypoint ---> Using cache ---> 57f81568675f Successfully built 57f81568675f Successfully tagged kumo-entrypoint:latest Entrypoint container is created successfully >>> Checking python dependencies WARNING: There're some errors when doing pip-check: Traceback (most recent call last): File "/usr/local/sbin/run-pipcheck", line 180, in <module> sys.exit(main()) File "/usr/local/sbin/run-pipcheck", line 145, in main eggs_env = load_eggs() File "/usr/local/sbin/run-pipcheck", line 75, in load_eggs settings_module = activate_main_egg(main_project_egg[0]) File "/usr/local/sbin/run-pipcheck", line 104, in activate_main_egg return entry_point.module AttributeError: 'EntryPoint' object has no attribute 'module' {"error": "requirements_error", "message": "Dependencies check exit code: 1", "details": "Pip checks failed, please fix the conflicts"} {"status": "error", "message": "Requirements error"} Deploy log location: /var/folders/7v/p6w1bbsj3wzc727fjk8gd5k80000gn/T/shub_deploy_zmmuenoc.log Error: Deploy failed: b'{"status": "error", "message": "Requirements error"}'
PS: My pip check doesn't show any error.
Hope help!
1 Votes
dventura posted 20 days ago Best Answer
Try this:
If you don't have the scrapinghub.yml file, you can create and add the following:
projects:
default: 123456
stacks:
default: scrapy:2.11
requirements:
file: requirements.txt
file path:
your_project/scrapinghub.yml
1 Comments
dventura posted 20 days ago Answer
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
We use cookies to try and give you a better experience in Freshdesk.
You can learn more about what kind of cookies we use, why, and how from our Privacy Policy. If you hate cookies, or are just on a diet, you can disable them altogether too. Just note that the Freshdesk service is pretty big on some cookies (we love the choco-chip ones), and some portions of Freshdesk may not work properly if you disable cookies.
We’ll also assume you agree to the way we use cookies and are ok with it as described in our Privacy Policy, unless you choose to disable them altogether through your browser.
I met an error while deploying my project
t.
PS: My pip check doesn't show any error.
Hope help!
1 Votes
dventura posted 20 days ago Best Answer
Try this:
If you don't have the scrapinghub.yml file, you can create and add the following:
projects:
default: 123456
stacks:
default: scrapy:2.11
requirements:
file: requirements.txt
file path:
your_project/scrapinghub.yml
1 Votes
1 Comments
dventura posted 20 days ago Answer
Try this:
If you don't have the scrapinghub.yml file, you can create and add the following:
projects:
default: 123456
stacks:
default: scrapy:2.11
requirements:
file: requirements.txt
file path:
your_project/scrapinghub.yml
1 Votes
Login to post a comment