社区
脚本语言
帖子详情
Scrapy无法正常运行AttributeError: 'module' object has no attribute 'F_GETFD'
smallbaoma
2017-05-29 04:56:49
在win7环境上装scrapy,相关的依赖包比如lxml之类的都装好了,可以成功的运行import scrapy命令。当在CMD里运行scrapy shell www.baidu.com时就会报错,请问这个问题如何修复?
同样的操作在别的几台机器上都没问题了,就在一台电脑上出了这个问题,求教,,,,,,,,,
...全文
1209
4
打赏
收藏
Scrapy无法正常运行AttributeError: 'module' object has no attribute 'F_GETFD'
在win7环境上装scrapy,相关的依赖包比如lxml之类的都装好了,可以成功的运行import scrapy命令。当在CMD里运行scrapy shell www.baidu.com时就会报错,请问这个问题如何修复? 同样的操作在别的几台机器上都没问题了,就在一台电脑上出了这个问题,求教,,,,,,,,,
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
4 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
IFAV
2020-01-06
打赏
举报
回复
删除下面文件试下: C:\Python27\Lib\fcntl.py C:\Python27\Lib\fcntl.pyc 亲测有效.
CaiNiaoWuZui
2017-11-14
打赏
举报
回复
我建议核对一下各个模块的版本。是否这台电脑某个模块版本不一样
qq_35538086
2017-11-14
打赏
举报
回复
删除下面文件试下: C:\Python27\Lib\fcntl.py C:\Python27\Lib\fcntl.pyc
shiter
2017-05-31
打赏
举报
回复
有没有在网上搜索一下这个报错信息,怀疑是32-64的选择或者编码问题
python系列(亲测有效):
Attribute
Error
:
module
‘fcntl‘ has no
attribute
‘F_GETFL‘
Attribute
Error
:
module
‘fcntl‘ has no
attribute
‘F_GETFL‘
Attribute
Error
:
module
‘fcntl‘ has no
attribute
‘F_GETFL‘
将 `Python36\Lib` 中的 `fcntl.py` 改名为 `fcntl_ex.py`
Scrapy
运行
示例出现问题
Attribute
Error
:
module
'fcntl' has no
attribute
'F_GET
FD
' 找到python3/Lib 中将fcntl.py改名成fcntl_ex.py再
运行
即可.
scrapy
'fcntl' has no
attribute
'F_GET
FD
干掉\Lib\fcntl.py 转载于:https://www.cnblogs.com/pythonClub/p/10005964.html
[
scrapy
]安装报错: Twisted安装错误
http://www.l
fd
.uci.edu/~gohlke/pythonlibs/#twisted 下载whl文件然后 pip install <whl文件名> 安装
Scrapy
shell
无法
正常
运行
的错误都需要安装ipython即可解决
Attribute
Error
: '
module
'
object
has no
attribute
'F_...
脚本语言
37,744
社区成员
34,213
社区内容
发帖
与我相关
我的任务
脚本语言
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
复制链接
扫一扫
分享
社区描述
JavaScript,VBScript,AngleScript,ActionScript,Shell,Perl,Ruby,Lua,Tcl,Scala,MaxScript 等脚本语言交流。
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
试试用AI创作助手写篇文章吧
+ 用AI写文章