JavaShuo
栏目
标签
AttributeError: 'module' socket has no attribute 'AF_INET'
时间 2020-06-06
标签
attributeerror
module
socket
attribute
inet
栏目
系统网络
繁體版
原文
原文链接
今天使用socket作实验时出现了这个错误,显示 socket包中没有 AF_INET 的参数, socket 而后将代码贴到了sublime上又能够运行了,感受Pycharm是在逗我。。。。。import 最后查了资料才发现,是本身傻批了,文件名字取了个socket.py,因此在import socket 的时候im 影响了socket源模块的导入,给文件改了名字以后就能正常运行了。之后注意通
>>阅读原文<<
相关文章
1.
AttributeError: ‘module‘ socket has no attribute ‘AF_INET‘
2.
AttributeError: module 'tf.nn.seq2seq.model_with_buckets' has no attribute 'seq2seq'
3.
AttributeError: module ‘tensorflow‘ has no attribute ‘sparse_tensor_dense_matmul‘
4.
AttributeError: module 'matplotlib' has no attribute 'verbose'
5.
AttributeError: module ‘serial‘ has no attribute ‘Serial‘
6.
AttributeError: module 'keyword' has no attribute 'kwlist'
7.
AttributeError: module 'turtle' has no attribute 'Screen'
8.
AttributeError: module 'cv2' has no attribute 'CV_HAAR_SCALE_IMAGE'
9.
'AttributeError: ''module'' object has no attribute ''bool_''
10.
AttributeError: 'module' object has no attribute 'text_format'
更多相关文章...
•
C# 特性(Attribute)
-
C#教程
•
XSLT
元素
-
XSLT 教程
•
Flink 数据传输及反压详解
•
IntelliJ IDEA中SpringBoot properties文件不能自动提示问题解决
相关标签/搜索
attributeerror
attribute
module
socket
module+ffmpeg
module&component
20.module
module+require.js
21.module
Node.js Module
系统网络
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
Window下Ribbit MQ安装
2.
Linux下Redis安装及集群搭建
3.
shiny搭建网站填坑战略
4.
Mysql8.0.22安装与配置详细教程
5.
Hadoop安装及配置
6.
Python爬虫初学笔记
7.
部署LVS-Keepalived高可用集群
8.
keepalived+mysql高可用集群
9.
jenkins 公钥配置
10.
HA实用详解
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
AttributeError: ‘module‘ socket has no attribute ‘AF_INET‘
2.
AttributeError: module 'tf.nn.seq2seq.model_with_buckets' has no attribute 'seq2seq'
3.
AttributeError: module ‘tensorflow‘ has no attribute ‘sparse_tensor_dense_matmul‘
4.
AttributeError: module 'matplotlib' has no attribute 'verbose'
5.
AttributeError: module ‘serial‘ has no attribute ‘Serial‘
6.
AttributeError: module 'keyword' has no attribute 'kwlist'
7.
AttributeError: module 'turtle' has no attribute 'Screen'
8.
AttributeError: module 'cv2' has no attribute 'CV_HAAR_SCALE_IMAGE'
9.
'AttributeError: ''module'' object has no attribute ''bool_''
10.
AttributeError: 'module' object has no attribute 'text_format'
>>更多相关文章<<