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.
安裝cuda+cuDNN
2.
GitHub的使用說明
3.
phpDocumentor使用教程【安裝PHPDocumentor】
4.
yarn run build報錯Component is not found in path 「npm/taro-ui/dist/weapp/components/rate/index「
5.
精講Haproxy搭建Web集羣
6.
安全測試基礎之MySQL
7.
C/C++編程筆記:C語言中的複雜聲明分析,用實例帶你完全讀懂
8.
Python3教程(1)----搭建Python環境
9.
李宏毅機器學習課程筆記2:Classification、Logistic Regression、Brief Introduction of Deep Learning
10.
阿里雲ECS配置速記
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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'
>>更多相關文章<<