腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
2
回答
使用
python-
can
时
的
接口
(
模块
'
can
‘
没有
’
AttributeError
‘
属性
)
、
运行以下代码
时
出现错误: import
can
#importing
CAN
module app_name='python-
can
') bus2 =
can
.interface.Bus(bustype='vector
浏览 265
提问于2020-09-23
得票数 1
1
回答
接口
:
使用
3.3.4版
时
,
模块
“
can
”
没有
属性
“
AttributeError
”
、
我正在尝试
使用
can
-python库发送
can
消息,出现以下错误:
模块
'
can
‘
没有
属性
’
AttributeError
‘代码bus =
can
.interface.Bus() msg =
can
.Message(arbitration_id=0x68005,dat
浏览 100
提问于2021-05-13
得票数 0
1
回答
AttributeError
:“
模块
”对象
没有
属性
“
CAN
_RAW”
、
我正在编写一个简单的python脚本来读取
CAN
总线上的数据。我在python2.7中
使用
了python_
can
库。')File "/home/jxu/.local/lib/python2.7/site-packages/
can
/interface.py", line 87, inif
can
_protocol is None or
浏览 0
提问于2018-05-15
得票数 2
回答已采纳
1
回答
带有
can
.BLFReader的python '
AttributeError
‘
我正在尝试
使用
can
.BLFReader
模块
导入blf文件。 buf python显示'
AttributeError
‘。 这就是代码。import
can
can
_log =
can
.BLFReader(filename) print(msg)
AttributeError
:
模块
“
can
”
没
浏览 24
提问于2020-11-02
得票数 1
2
回答
Python ::
AttributeError
:“
模块
”对象
没有
属性
“
接口
”
我从下载了一个python项目Traceback (most recent call last): adapters = debinterface.interfaces()
AttributeError
: 'module' object我不得不说,我
浏览 5
提问于2014-12-16
得票数 2
回答已采纳
1
回答
Stata中的Python集成
、
、
我试图从Stata中的python
接口
运行python
模块
,但它向我发送了以下消息错误:当我在Stata中的python
接口
中运行脚本
时
,就会发生这种情况。但是,当我直接从spyder运行脚本
时
,它工作得很好。关于这个问题,你能给我什么建议吗?
浏览 4
提问于2022-10-19
得票数 0
1
回答
在Python3中,可以在
模块
上设置
属性
时
触发函数吗?
、
我正在尝试调试一个问题,其中一个
模块
的
属性
被删除了(就像在代码中一样,它存在于代码中,但是在运行时访问它,有时会生成一个
AttributeError
)。这是哪些代码,以及它是哪个
模块
/
属性
,实际上并不重要。到目前为止
浏览 2
提问于2022-05-30
得票数 2
回答已采纳
3
回答
Airtable和Python的问题
、
、
、
、
我正在
使用
一个名为AirTable的在线电子表格应用程序,需要能够
使用
Python访问API。我做错了什么?
浏览 5
提问于2016-10-23
得票数 1
回答已采纳
4
回答
模块
:“
AttributeError
”对象
没有
属性
(
使用
cPickle
时
)
我正在尝试
使用
cPickle在远程环境中加载函数。但我得到的错误是“'module‘对象
没有
属性
...”。我真正被卡住的地方是名称空间已经包含了该
属性
,即使它无法加载请帮助import cPickle as pickle ar
浏览 0
提问于2010-07-29
得票数 17
回答已采纳
1
回答
CAN
模块
python 3
、
我最近买了一个
使用
CAN
模块
的 2板,bus =
CAN
.interface.Bus(channel='
can
0', bustype='socketcan_native')bus.send(msg) 我的错误: AtributeError:“
模块
”对象
没有</
浏览 8
提问于2016-06-06
得票数 2
回答已采纳
2
回答
区分类内部和外部的调用者
、
我有两个类A和B,其中B继承了A并重写了一个
属性
。A不在我的控制之下,所以我无法改变它。self): @value.setter raise
AttributeError
("
can
't set attribute") 当我试图调用B(1)
时
,我显然得到了
AttributeError
:
can
't s
浏览 0
提问于2016-04-15
得票数 3
回答已采纳
1
回答
AttributeError
:
使用
Textmate
时
,
模块
“”inspect“”
没有
属性
“”getsource“”
、
、
、
、
/usr/bin/env python3 from forecastiopy import * 最近,只有当文件被保存
时
,它才停止工作,相同的代码在未保存的文件中工作。
浏览 8
提问于2019-01-29
得票数 1
回答已采纳
1
回答
在Python中,在构造函数中分配实例变量是以下划线开头的常见模式吗?
、
我最近开始
使用
UtilSnips,这是一个Vim插件,它允许一定程度的自动化,同时对常见的代码片段(例如类和函数定义)
使用
类似模板的代码片段进行编码。在与Python一起
使用
流行的片段包
时
,我注意到在编写类
时
使用
的代码片段
使用
了我在__init__中从未见过的模式,除了
使用
self以外,还
使用
了更多的参数:在为Python中的类分配构造函数中的实例变
浏览 0
提问于2016-02-11
得票数 1
回答已采纳
2
回答
AttributeError
:当我
使用
blaze
模块
时
,
模块
'pandas‘
没有
属性
'tslib’
、
、
、
、
3.6.11我的项目中有两个依赖项- pandas=1.0.5=py36h0573a6f_0Traceback (most recent call last): @convert.register((pd.Timestamp, pd.Timedel
浏览 0
提问于2020-10-13
得票数 0
1
回答
AttributeError
:在从Windows
使用
Paramiko连接
时
,
模块
'paramiko.win_pageant‘
没有
属性
'
can
_talk_to_agent’
、
、
、
、
我试图
使用
Paramiko
模块
的SSHClient对象来实现这一点: ssh = paramiko.SSHClient因为这是用一百多个路由器完成的,所以我尝试
使用
线程
模块
来加速这个过程。当我同时
使用
更多的线程
时
,我一直遇到的问题开始更频繁地发生,因此我使程序一次只能处理14个线程(服务器运行在14个核心CPU上),以这种方式运行: amount_ip_blocks = int(len(: mod
浏览 4
提问于2021-02-04
得票数 2
回答已采纳
3
回答
如何使子网中的'assign_public_ip_on_launch‘选项为真- Boto3
、
、
子网内启动的实例不会获得自动ip,因为如果为False,则子网的assign_public_ip_on_launch
属性
。我确实尝试将
属性
更改为True并完成我的工作,但它似乎是写保护的,无法更改它。Traceback (most recent call last): File "launch.py", line 20, in <module&g
浏览 1
提问于2015-12-29
得票数 2
5
回答
虽然安装了helper,但导入helper的库
时
出错
、
我正在
使用
colab并且已经!pip安装帮助器,但是我遇到错误
AttributeError
:
模块
' helper‘
没有
属性
'imshow’,还有
AttributeError
:
模块
'helper‘
没有
属性
'view_classify’
浏览 0
提问于2018-12-01
得票数 8
3
回答
模块
'Tensorflow‘
没有
分布
、
、
在
使用
TensorFlow
时
,我在Google中遇到了一些奇怪的错误,比如:
模块
'tensorflow‘
没有
属性
’占位符‘ 帮助会很感激的。
浏览 8
提问于2020-06-26
得票数 0
3
回答
AttributeError
:“
模块
”对象
没有
属性
“createLBPHFaceRecognizer”
、
、
从中,我理解应该通过
使用
opencv来解决错误,但问题是,当我第一次
使用
使用
cmake构建opencv
时
,我还构建了opencvcont肋骨。如果我必须重建它,我应该怎么做呢?这是一个错误: Cv2. cv2.createLBPHFaceRecognizer()文件"stdin",第1行,在
模块
中
AttributeError
:“
模块
”对象
没有
属性
“createLBPHFac
浏览 0
提问于2017-04-08
得票数 0
1
回答
使用
AttributeError
:
模块
'tensorflow‘
没有
属性
'gfile’
、
、
我也尝试过那个tf.io.Gfile,但是
没有
用。我
使用
的是tensorflow 2.2.0版本和tensorflow-GPU2.2.0。这是代码,当我将tf.gfile改为tf.io.gfile
时
,
浏览 1
提问于2021-03-19
得票数 0
回答已采纳
点击加载更多
相关
资讯
10 行代码,9 行报错,8 个警告…一个都逃不掉!
Python中的AttributeError:属性错误处理
python入门系列:面向对象
一切皆对象——Python面向对象:属性访问的魔法(中)——property
常见CAN总线通信模块及转换器
热门
标签
更多标签
云服务器
ICP备案
云直播
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券