scrapy 安装python软件包时出错

bnlyeluc  于 2022-11-09  发布在  Python
关注(0)|答案(2)|浏览(226)

我尝试在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
pxiryf3j

pxiryf3j1#

您是如何尝试安装它的?pip install scrapy应该可以工作。

0yycz8jy

0yycz8jy2#

这只是一个防病毒问题,阻止它安装某些软件包,如scrapy
您可以关闭您的防病毒软件或观看此视频以打开病毒和威胁防护(在windows中)https://www.youtube.com/watch?v=_0_A9D0JeVo

相关问题