我在尝试创建一个新的垃圾项目时遇到了这个错误。在
C:\Windows\system32>Scrapy startproject tutorial
c:\Python27\lib\site-packages\twisted\internet\_sslverify.py:184: UserWarning: Y
ou do not have the service_identity module installed. Please install it from <ht
tps://pypi.python.org/pypi/service_identity>. Without the service_identity modul
e and a recent enough pyOpenSSL tosupport it, Twisted can perform only rudimenta
ry TLS client hostnameverification. Many valid certificate/hostname mappings ma
y be rejected.
verifyHostname, VerificationError = _selectVerifyImplementation()
New Scrapy project 'tutorial' created in:
C:\Windows\system32\tutorial
You can start your first spider with:
cd tutorial
scrapy genspider example example.com
这只是一个警告,twisted将无法识别SSL站点。要消除该警告,请安装服务标识模块:
相关问题 更多 >
编程相关推荐