腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
3
回答
AttributeError
-
Object
没有
属性
python
、
django
、
django-forms
、
django-views
这个视图正在抛出一个
AttributeError
,上面写着:'PhotoForm‘对象
没有
属性
’预定‘。发生了什么-函数通过了,但实际上并
没有
上传图像。在调试它时,窗体无效.我试着打印 Exception Type:
AttributeError
at /
浏览 4
提问于2011-01-24
得票数 1
回答已采纳
1
回答
AttributeError
:'
Object
没有
属性
‘
python
、
python-3.x
我有以下代码块: class HwSwitch(
object
): pass return str(out) 但我得到的总是错误信息:
AttributeError
:'HwSwitch‘对象
没有
'channel’
属性<
浏览 10
提问于2019-02-20
得票数 0
回答已采纳
1
回答
AttributeError
-
object
没有
属性
“create”
django
、
django-rest-framework
我试图通过Django-rest框架保存一个具有以下
属性
的直通模型 对我做错了什么有什么想法吗?return EnabledExternalProvider.objects.filter(organisation=self.re
浏览 1
提问于2017-06-23
得票数 1
回答已采纳
2
回答
AttributeError
:输入
object
'Product‘
没有
属性
’
object
‘
python
、
django
PycharmProjects\libshopapp\store\views.py",第195行,在updateItem** id=productId= Product.objects.get(id=productId)
AttributeError
中:输入
object
' product‘
没有
属性
’
object
‘*是因为views.py损坏了吗?因为"POST /store/update_item/ HTTP1.1“500 59的信息显示得有点出
浏览 6
提问于2021-02-22
得票数 0
回答已采纳
1
回答
AttributeError
:函数‘
object
’
没有
属性
'linreg‘
python
、
numpy
我不断地得到,
AttributeError
:“函数”对象
没有
属性
“linreg”import osimport numpy as np from
浏览 1
提问于2014-09-02
得票数 1
回答已采纳
1
回答
AttributeError
:“
object
”对象
没有
属性
“attr”
python
、
object
、
inheritance
以下代码运行良好,
没有
错误: pass a.attr = Trueo =
object
()引发以下错误:
AttributeError
Traceback (most recent call last) <ipython-input-54-9fd7259047d0&g
浏览 5
提问于2019-10-24
得票数 0
回答已采纳
1
回答
AttributeError
:'RegisterPatientView‘对象
没有
属性
'
object
’
python
、
django
、
templates
、
django-urls
、
django-managers
当我运行该项目并尝试创建注册病人或医生时,它将显示此错误。及其下方显示中的错误下面是我的密码。views.py """ """ form_class = PatientRegistrationForm template_name = 'accoun
浏览 6
提问于2022-09-01
得票数 0
回答已采纳
2
回答
AttributeError
:输入
object
'By‘
没有
属性
'name’
python
、
selenium
、
selenium-webdriver
、
webdriver
、
webdriverwait
我正在做一个selenium程序,可以进入我的电子邮件,但我有问题的By,它不能是By.name("")或似乎。psswd = WebDriverWait(driver, 20).until(psswd.send_keys("MyPassword")
浏览 6
提问于2020-11-23
得票数 0
回答已采纳
0
回答
Python:
AttributeError
:
object
没有
'method‘
属性
python
、
python-2.7
、
attributeerror
我在GeoLocationSolver.py中有一个类GeoLocationHandlerObj,它有一个方法'myMethod': handler.myMethod()
AttributeError
:“GeoLocationHandlerObj”对象
没有
属性
“”myMethod“”。
浏览 3
提问于2018-07-18
得票数 2
1
回答
AttributeError
at / 'str‘对象
没有
属性
’
object
‘
django
我对Django很陌生。我正在进行一个项目,该项目使用天气API使weather.Everything正常工作,直到models.py在views.py上完成并导入城市。models.py name = models.CharField(max_length=25) return self.name
浏览 0
提问于2018-06-13
得票数 2
回答已采纳
1
回答
AttributeError
'NarrateUpdate‘对象
没有
属性
'
object
’
django
我的NarrateUpdate视图中有一个
属性
错误。我想从表单编辑/更新用户提交的内容。
浏览 3
提问于2019-11-13
得票数 0
回答已采纳
2
回答
AttributeError
:输入
object
'Team‘
没有
属性
'_meta’
python
、
django
、
sqlite
、
django-models
、
django-forms
但是,当我试图获取表单以将信息保存到数据库时,我开始测试的字段已经消失,
没有
任何内容写入数据库。我也一直收到这个错误:
AttributeError
: type
object
'Team' has no attribute '_meta'Unhandled exception in thread_meta
AttributeError
: type
object
'Team' has no attribute '_meta
浏览 2
提问于2016-02-13
得票数 6
回答已采纳
1
回答
AttributeError
:输入
object
'Cliente‘
没有
属性
’查询‘
python
、
flask
、
sqlalchemy
AttributeError
:输入
object
'Client‘
没有
属性
’查询‘ from flask import Flask, render_template, request, url_for
浏览 1
提问于2018-06-05
得票数 1
1
回答
AttributeError
:类型对象'
object
‘
没有
属性
'dtype’
python
.
AttributeError
dtype = dtype.dtype 1198 # coerce if we have nan for an integer dtype
AttributeError
: type
object
'
object
' has no attribute 'dtype'
浏览 4
提问于2022-06-09
得票数 0
回答已采纳
2
回答
AttributeError
:输入
object
'By‘
没有
属性
'id’Selenium
python
、
selenium
、
selenium-webdriver
、
webautomation
我尝试按其ID选择下拉元素,但得到以下错误:
AttributeError
: type
object
' by‘for no attribute 'id' --我得到了以下一行的错误:element =
浏览 8
提问于2022-01-16
得票数 0
回答已采纳
1
回答
AttributeError
:输入
object
'Test‘
没有
属性
'tab’
python
、
compiler-errors
def main(): app.wm_title("test") rtpt = Rtpt(modele,app)
AttributeError
:输入
object
'Test‘
没有
属性
'tab’
浏览 2
提问于2022-05-26
得票数 -1
1
回答
AttributeError
:输入
object
'Product‘
没有
属性
'_meta’
python
、
django
、
python-2.7
、
ubuntu
、
django-models
_meta.abstract:
AttributeError
: type
object
'Product has no attribute '_meta'
浏览 0
提问于2015-12-01
得票数 2
回答已采纳
1
回答
AttributeError
:输入
object
'Transaction‘
没有
属性
'exclude’
go-ethereum
、
truffle
、
ethereumjs
transactions.py", line 101, in <module>
AttributeError
: type
object
'Transaction' has no attribute 'exclude'import _pysha3 from web3 import
浏览 0
提问于2020-12-23
得票数 0
1
回答
AttributeError
/
object
没有
属性
“cleaned_data”
python
、
django
、
attributes
我试图用两个字段来创建一个表单集,第一个字段用于文本,第二个字段为choicefield。我在话题上有错误,不知道如何替换"cleaned_data“。当我通过POST推送数据时,会出现错误。这是我的密码:@login_required"""""" userrr = request.
浏览 3
提问于2016-03-03
得票数 0
回答已采纳
1
回答
Sqlalchemy Insert -
AttributeError
:
object
没有
属性
'items‘
python
、
sqlalchemy
engine) conn.execute(ins)
AttributeError
: 'datetime.datetime'
object
has no attribute 'items' 我也尝试使用func.now(),但也发生了类似的错误。
浏览 0
提问于2018-12-02
得票数 3
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python3.6内置函数——hasattr
python渐进-类4
【入门】Python的绑定
Python是一门动态语言
必背Python单词:常用报错提示单词20个
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券