社区
脚本语言
帖子详情
大神帮我看一下这个'str' object has no attribute 'say_hi'
Rongz111
2018-05-19 12:36:31
...全文
1341
1
打赏
收藏
大神帮我看一下这个'str' object has no attribute 'say_hi'
[图片]
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
oyljerry
2018-05-19
打赏
举报
回复
droid1=Robot("R1")
python 提示错误
Attribute
Error: type
object
'
str
' has no
attribute
'_name_'
在做《Mac
hi
ne Learning in Action》书中的第三章绘制树形图时遇到了这个问题
Attribute
Error: type
object
'
str
' has no
attribute
'_name_' 很明显是if type(secondDict[key])._name_ == ‘dict’:这一句有问题,...
Attribute
Error: ‘version_info‘
object
has no
attribute
‘__version__‘
这个问题相对来说比较简单,其实还是版本的问题
Attribute
Error: 'version_info'
object
has no
attribute
'__version__',很明显是因为版本迭代,导致部分版本省略了。我是这个领域的初学者,但我猜这是与Carla和...
报错:TypeError: 'NoneType'
object
has no
attribute
'__getitem__'
运行python程序出现报错 summ = summ + w[ox+m][oy+n]*inp[i+m][j+n]/255TypeError: 'NoneType'
object
has no
attribute
'__getitem__' 检查出错原因:'__getitem__' 是与数组下标相关本人程序中 inp[i+m][j+n] ...
python遇到
Attribute
Error: '
str
'
object
has no
attribute
'_getAssertEqualityFunc'问题解决过程
在编写python脚本过程中,引用assertEqual()时,遇到
Attribute
Error: '
str
'
object
has no
attribute
'_getAssertEqualityFunc'问题,该意思是
str
没有属性,查看该方法,没有问题。此时将assertEqual里的参数修改为...
成功解决
Attribute
Error: ‘
str
‘
object
has no
attribute
‘decode‘
成功解决
Attribute
Error: '
str
'
object
has no
attribute
'decode' 目录 解决问题 解决思路 解决方法 解决问题
Attribute
Error: '
str
'
object
has no
attribute
'decode' 解决思路 根据问题提示,意思...
脚本语言
37,720
社区成员
34,239
社区内容
发帖
与我相关
我的任务
脚本语言
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写文章