我尝试在python中安装scrapy用于网页抓取。但是得到一个错误。
Using cached PyDispatcher-2.0.6.tar.gz (38 kB)
ERROR: Error [WinError 225] Operation did not complete successfully because the file contains a
virus or potentially unwanted software while executing command python setup.py egg_info
Preparing metadata (setup.py) ... error
ERROR: Could not install packages due to an OSError: [WinError 225] Operation did not complete
successfully because the file contains a virus or potentially unwanted software
2条答案
按热度按时间pxiryf3j1#
您是如何尝试安装它的?
pip install scrapy
应该可以工作。0yycz8jy2#
这只是一个防病毒问题,阻止它安装某些软件包,如
scrapy
。您可以关闭您的防病毒软件或观看此视频以打开病毒和威胁防护(在windows中)https://www.youtube.com/watch?v=_0_A9D0JeVo