windows下安装pywin32报错:close failed in file object destructor:sys.excepthook is missing lost sys.stderr
时间:2017-05-26 22:33:21
收藏:0
阅读:3620
今晚要写搜索引擎作业,搭scrapy环境,遇到了下面问题:
windows下安装pywin32报错:close failed in file object destructor:sys.excepthook is missing lost sys.stderr
解决方法:
1.右键管理员身份运行cmd命令提示符:

2. 切换到C:\Python27\Scripts文件夹下,命令为:cd C:\Python27\Scripts
3. 运行python pywin32_postinstall.py -install

提示成功安装。问题解决。
原文:http://www.cnblogs.com/fengxw/p/6910638.html
评论(0)