Scrapyd_client "scrapy.utils.http" modeulenotfound error

  python, scrapy, web-crawler, web-scraping

Trying to run scrapyd but run into an error saying:

ib/python3.8/site-packages/scrapyd_client/", line 23, in <module>
    from scrapy.utils.http import basic_auth_header
ModuleNotFoundError: No module named 'scrapy.utils.http'

The command I’ve used to launch scrapyd is

scrapyd-deploy local

with the settings assigned to local.
All the libraries including scrapy, scrapyd and scrapyd-client are installed in the system.

Source: Python Questions