简体   繁体   中英

scrapy startproject tutorial: Error when running this command

I got this error when I was trying to create a new Scrapy project.

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

This is only a warning that twisted won't be able to identify SSL sites. To get rid of the warning install the service_identity module:

pip install service_identity

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM