ScrapyDeprecationWarning: Module `scrapy.log` has been deprecated
See original GitHub issueubgpu@ubgpu:~/github/pystock-crawler$
ubgpu@ubgpu:~/github/pystock-crawler$ PYTHONPATH=/usr/local/lib/python2.7/dist-packages pystock-crawler prices GOOG,YHOO -o out.csv --sort
/usr/local/bin/pystock-crawler:33: ScrapyDeprecationWarning: Module scrapy.log
has been deprecated, Scrapy now relies on the builtin Python library for logging. Read the updated logging entry in the documentation to learn more.
from scrapy import log
Traceback (most recent call last):
File “/usr/local/bin/pystock-crawler”, line 267, in <module>
main()
File “/usr/local/bin/pystock-crawler”, line 252, in main
log.start(logfile=log_file)
AttributeError: ‘module’ object has no attribute ‘start’
ubgpu@ubgpu:~/github/pystock-crawler$
ubgpu@ubgpu:~/github/pystock-crawler$ sudo pip2 install scrapy
Requirement already satisfied (use --upgrade to upgrade): scrapy in /usr/local/lib/python2.7/dist-packages
Cleaning up…
ubgpu@ubgpu:~/github/pystock-crawler$
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (2 by maintainers)
Top GitHub Comments
@eliangcs Thanks, I’ll do that right now and let you know. EDIT: It works just fine now !
@mlliarm this project uses Scrapy 0.24.4. Can you reinstall Scrapy old version and try again?