ModuleNotFoundError: No module named 'scrapy_zyte_smartproxy' while running in Zyte

Posted about 2 years ago by Thejashwini NL

Post a topic
Un Answered
T
Thejashwini NL

File "/usr/local/lib/python3.8/site-packages/scrapy/middleware.py", line 34, in from_settings
    mwcls = load_object(clspath)
  File "/usr/local/lib/python3.8/site-packages/scrapy/utils/misc.py", line 50, in load_object
    mod = import_module(module)
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'scrapy_zyte_smartproxy'

0 Votes


1 Comments

Bala Ravichandran

Bala Ravichandran posted about 2 years ago Admin

Hi,


You would have to use the requirement.txt file to install the python dependencies. Please add the below line in the requirement.txt file so that the module will be installed on the Scrapy cloud.

scrapy-zyte-smartproxy==2.2.0

For more information, please refer to https://support.zyte.com/support/solutions/articles/22000200400

0 Votes

Login to post a comment