pip - Scrapy suddenly stopped working, gives error -


scrapy 1.4.0 stopped working 3 days ago, before fine , crawling. changed nothing it.

error is:

traceback (most recent call last):   file "/usr/bin/scrapy", line 7, in <module>     scrapy.cmdline import execute   file "/usr/lib64/python2.7/site-packages/scrapy/cmdline.py", line 6, in  <module>     import pkg_resources   file "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 72, in <module>     import packaging.requirements       file "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>     marker_expr = originaltextfor(marker_expr())("marker") typeerror: __call__() takes 2 arguments (1 given 

whats happening, tried downgrade scrapy 1.3.0 still getting same error, reinstalled having same error?

my os centos 7, , have not updated recently.

any appreciated.

sometimes in rare case packages installation can corrupt. should make sure clean install of required packages in such instances. use below command reinstall scrapy

pip install scrapy --force --upgrade 

Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -