Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on CentOS7 (Python 2.7.5) #3889

Hiroki111 opened this issue Jul 19, 2019 · 2 comments · Fixed by #3896

Installing on CentOS7 (Python 2.7.5) #3889

Hiroki111 opened this issue Jul 19, 2019 · 2 comments · Fixed by #3896


Copy link

@Hiroki111 Hiroki111 commented Jul 19, 2019

I've run pip install scrapy, but it doesn't seem that this has been installed properly.

Now when I ran scrapy on CLI, it ends up in the following message.

Traceback (most recent call last):
  File "/usr/bin/scrapy", line 6, in <module>
    from scrapy.cmdline import execute
  File "/usr/lib64/python2.7/site-packages/scrapy/", line 10, in <module>
    from scrapy.crawler import CrawlerProcess
  File "/usr/lib64/python2.7/site-packages/scrapy/", line 11, in <module>
    from scrapy.core.engine import ExecutionEngine
  File "/usr/lib64/python2.7/site-packages/scrapy/core/", line 14, in <module>
    from scrapy.core.scraper import Scraper
  File "/usr/lib64/python2.7/site-packages/scrapy/core/", line 18, in <module>
    from scrapy.core.spidermw import SpiderMiddlewareManager
  File "/usr/lib64/python2.7/site-packages/scrapy/core/", line 13, in <module>
    from scrapy.utils.conf import build_component_list
  File "/usr/lib64/python2.7/site-packages/scrapy/utils/", line 4, in <module>
    import configparser
ImportError: No module named configparser

I googled configparser, and apparently this used to be called ConfigParser.

Has anyone seen this issue?
Any advice will be appreciated.

Copy link

@marsam marsam commented Jul 20, 2019

addressed by #3887

Copy link

@elacuesta elacuesta commented Jul 20, 2019

Hello @Hiroki111, please see my explanation at #3887 (comment).
As a temporary workaround, I believe you should be able to make it work by installing the configparser backport (

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging a pull request may close this issue.

3 participants