简体   繁体   中英

python importerror no module named zope.interface twisted

I am new in python.I installed "scrapy" but it giving error "importerror no module named zope.interface twisted".Please help me.

Thanks in advance..........

Scrapy requires a few additional libraries, namely Twisted and libxml2 (and optionally pyopenssl and simplejson ). The installation instructions describes how to install these libraries.

I had the same error after following the steps scrapy suggested, mainly using pip install Scrapy. In order to install some Scrapy dependencies you will need root permision, and my mistake was creating a virtualenv for my scrapy project. Maybe you will run into the same error after following the scrapy setup steps and using virtualenv. Just dont use virtualenv.

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