Zyte deployment error

Posted about 4 hours ago by Tuan Nguyen

Post a topic
Un Answered
T
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!


0 Votes


0 Comments

Login to post a comment