# scrapy引用包出错ImportError : cannot import name '_win32stdio'

386人阅读 评论(0)

python 3.5 scrapy 1.1 win10

Scrapy can work with Python 3 on windows if you make some minor adjustments:
1.Copy the _win32stdio and _pollingfile to the appropriate directory under site-packages. Namely, twisted-dir\internet. Download these from https://github.com/twisted/twisted/tree/trunk/twisted/internet
2.pip install pypiwin32
Granted, this is based on my personal experience. Because the repository will certainly change in the future, readers should beware the age of this answer.
Update: the twisted-win package is no longer required because the appropriate files are now included in the twisted package.

0
0

* 以上用户言论只代表其个人观点，不代表CSDN网站的观点或立场
个人资料
• 访问：11127次
• 积分：604
• 等级：
• 排名：千里之外
• 原创：51篇
• 转载：5篇
• 译文：0篇
• 评论：6条
文章分类
阅读排行
评论排行
最新评论