JavaShuo
欄目
標籤
AttributeError: ‘module‘ socket has no attribute ‘AF_INET‘
時間 2020-12-06
標籤
socket
import
文件
錯誤
參數
欄目
系統網絡
简体版
原文
原文鏈接
今天使用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.
resiprocate 之repro使用
2.
Ubuntu配置Github並且新建倉庫push代碼,從已有倉庫clone代碼,並且push
3.
設計模式9——模板方法模式
4.
avue crud form組件的快速配置使用方法詳細講解
5.
python基礎B
6.
從零開始···將工程上傳到github
7.
Eclipse插件篇
8.
Oracle網絡服務 獨立監聽的配置
9.
php7 fmp模式
10.
第5章 Linux文件及目錄管理命令基礎
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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'
>>更多相關文章<<