scrapy startproject教程:运行此命令时出错

2024-03-28 09:12:17 发布

您现在位置:Python中文网/ 问答频道 /正文

我在尝试创建一个新的垃圾项目时遇到了这个错误。在

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

Tags: the项目pypiexamplewindows错误serviceit