Traceback (most recent call last):

 "scrapy1.py", line 26, in <module>
crawler = Crawler(settings)

 "/home/matt/.local/lib/python2.7/site-packages/scrapy/crawler.py", line 32, in **init**
self.spidercls.update_settings(self.settings)AttributeError: 'Settings' object has no attribute 'update_settings'
Traceback (most recent call last):


 "C:\ProgramData\Anaconda3\lib\tarfile.py", line 2289, in next

tarinfo = self.tarinfo.fromtarfile(self)


 "C:\ProgramData\Anaconda3\lib\tarfile.py", line 1095, in fromtarfile

obj = cls.frombuf(buf, tarfile.encoding, tarfile.errors)


 "C:\ProgramData\Anaconda3\lib\tarfile.py", line 1037, in frombuf

chksum = nti(buf[148:156])


 "C:\ProgramData\Anaconda3\lib\tarfile.py", line 189, in nti

raise InvalidHeaderError("invalid header")
tarfile.InvalidHeaderError: invalid header
