腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
2
回答
TypeError
:
找不到
必需
的
参数
'
ranges
‘(
位置
2
)
python
、
opencv
、
cv2
我是python
的
新手,我试着使用filter
2
D函数,但是我得到了这个错误。img_out = cv
2
.filter
2
D(img_in,-1,cv
2
.UMat(gb));
TypeError
:未找到
必需
的
参数
'
ranges
‘(
位置
2
) ...这是什么意思?/ np.add(np.power(sigma_x,
2
) , np.power(y_th
浏览 26
提问于2019-01-27
得票数 0
4
回答
TypeError
:
找不到
必需
的
参数
'mat‘(
位置
2
)
python
、
opencv
、
cv2
我有下面的cv
2
代码。此代码可从下载。我想使用cv
2
.imshow来可视化它得到
的
视频
的
帧。但是我得到了以下错误。有什么问题吗?我怀疑这段代码是否真的能够读取视频,因为它返回
的
是一个零数组。def video3d(self, filename, color=False, skip=True): #cv
2
.imshow('
浏览 9
提问于2018-12-09
得票数 8
1
回答
TypeError
:
找不到
必需
的
参数
'name‘(
位置
1)
python
、
gdb
当我尝试为gdb运行我
的
第一个python脚本时,我得到了以下错误我
的
脚本我只是想学习gdb
的
python脚本。错误Traceback (most recent call last): File "gdbtest
2
.py", line 12, in
浏览 3
提问于2016-05-02
得票数 2
1
回答
TypeError
:
找不到
必需
的
参数
'object‘(
位置
1)
python
Use a.any() or a.all()
TypeError
:
找不到
必需
的
参数
'object‘(
位置
1)import matplotlib.pyplotimport pandas as pd data = np.array([[1, <
浏览 0
提问于2016-07-06
得票数 2
1
回答
在下面提到
的
程序中缺少什么
参数
?
python
、
machine-learning
、
nltk
、
porter-stemmer
对于下面提到
的
python程序,它显示了一个错误。programs", "programer", "programing", "programers"] print(w, " : ", ps.stem(w)) 我
找不到
缺少
的
浏览 9
提问于2019-09-21
得票数 1
回答已采纳
2
回答
使用openCV访问笔记本电脑摄像头
python
、
opencv
我根据这个页面运行以下代码-- print cap.read()cap.release()(False,无)我用
的
是jupyter笔记本,Python2.7,openCV 2.4。
浏览 1
提问于2016-10-01
得票数 2
1
回答
Python
TypeError
:
找不到
必需
的
参数
'offset‘(
位置
1)
python
、
django
、
django-models
当我实例化一个对象表单模型类时,我得到了一个错误
TypeError
: Required argument 'offset' (pos 1) not found:users,就像a = users()一样,这个类具有使用vars()函数从列表service_data创建
的
动态属性。blank=True) return models.FloatField(blank=True) 这是我用来动态创建这些属性
的
列表_get_defa
浏览 15
提问于2019-04-13
得票数 0
回答已采纳
2
回答
TypeError
: model()缺少
2
个
必需
的
位置
参数
python
、
arguments
、
odeint
这是我正在使用
的
代码。
TypeError
: model()缺少两个
必需
的
位置
参数
:'T‘和't’ dNadt = (Na0 / V) * v0 - (Na / V) * v0 + (- k * (Na / V)**
2
)* V dNbd
浏览 1
提问于2019-07-07
得票数 1
2
回答
TypeError
: VideoWriter()缺少具有opencv-python ==4.4.0.42
的
必需
参数
'frameSize‘(pos 5)
video-capture
、
opencv-python
',frame_width,fps,(frame_width,frame_height)) 但是我得到了一个错误:
TypeError
: VideoWriter()缺少
必需
的
参数
'frameSize‘(
位置
5) 当我将代码更改为: fourcc = cv
2
.VideoWriter_fourcc(*'mp4v') video_writer = cv
2
.VideoWriter(filename='out.mp4',
浏览 92
提问于2021-01-14
得票数 4
1
回答
无法使用networkx添加边缘或节点。
python
、
graph
、
networkx
graph = nx.DiGraphgraph.add_nodes_from(isolated_nodes) 因此,为了简化问题,我测试添加一个边缘或一个节点,如
浏览 1
提问于2018-01-25
得票数 3
回答已采纳
1
回答
(Python)标志:
找不到
必需
的
参数
‘
TypeError
’(pos
2
)
python
、
python-3.x
、
typeerror
我见过许多这样
的
问题,但人们总是给出解决方案,而不是哪里出了问题。var_<e
浏览 265
提问于2018-07-16
得票数 -1
1
回答
如何修正“缺少1
必需
的
位置
参数
:‘自我’”错误?
python
、
typeerror
我做了一些googling,但仍然
找不到
解决这个错误
的
方法。我试过只改变变量,但似乎不起作用。我做错了什么,我应该做什么不同
的
?
TypeError
: get_process_by_name()缺少一个
必需
的
位置
参数
:'self‘ process = ReadWriteMemory.get_process_by_name(process_name
浏览 5
提问于2022-01-11
得票数 -1
回答已采纳
2
回答
TypeError
:__init__()缺少
2
个
必需
的
位置
参数
python
、
python-3.x
、
path
、
typeerror
我不知道这个错误是由什么引起
的
,因为我已经在代码中声明了
位置
参数
path
2
和path3,但是错误说这两个
参数
丢失了。错误消息:
TypeError
: __init__() missing
2
required positional arguments: 'path
2
' and 'path3'importfrom utils import SOS, EOS, UNK, proces
浏览 5
提问于2021-05-03
得票数 3
回答已采纳
1
回答
从sqlite3数据库查询数据
python-3.x
、
flask
、
flask-sqlalchemy
我刚认识蟒蛇,我需要你
的
帮助。我想从数据库中查询数据,这是我
的
代码,它有一个
typeError
。
TypeError
: query_data()缺少
2
个
必需
的
位置
参数
:
浏览 3
提问于2022-04-04
得票数 0
1
回答
用多个
参数
处理函数
的
异常?
python
、
python-3.x
我有一个函数,它有两个
参数
是
必需
的
,一个是可选
的
。 if
TypeError
: print("Mi
浏览 0
提问于2019-05-19
得票数 0
2
回答
Python OpenCV布局:
找不到
必需
的
参数
‘
TypeError
’(pos
2
)
python
、
opencv
mlp_training.py", line 49, in <module>
TypeError
: Required argument 'layout' (pos
2
) not found__author__ = 'zhengwang' importstart time e1 = cv
浏览 22
提问于2017-01-12
得票数 0
1
回答
TypeError
:方法缺少
必需
的
位置
参数
python
、
pygame
、
typeerror
这是我正在编写
的
脚本
的
简化版本,以便在这里发布。self.black _Warning(self, 1) _Warning.sound(1)
TypeErro
浏览 2
提问于2018-01-13
得票数 2
回答已采纳
1
回答
TypeError
:在django中
找不到
必需
的
参数
'year‘(
位置
1)
python
、
django
、
django-migrations
manage.py makemigrations时,我得到了以下内容
2
)so you can do e.g. timezone.now()然后,当我运行python manage.py migrate时,我得到以下错误下面是我<e
浏览 0
提问于2018-07-03
得票数 0
1
回答
TypeError
: fit()缺少1个
必需
的
位置
参数
:'y‘,请
python
、
numpy
TypeError
: fit()缺少1个
必需
的
位置
参数
:'y‘请帮助我(( 1
浏览 21
提问于2019-01-13
得票数 0
回答已采纳
2
回答
Django URL传递
参数
python
、
django
谁能给我解释一下如何在Django URL中传递
参数
TypeError
at /time/plus/
2
/ hours_ahead()缺少1个
必需
<em
浏览 0
提问于2020-09-18
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Python函数的5类参数使用详解
函数参数有多少(上)
从零开始学 Python 之函数
Python 函数参数详解
Python3(3)Python 函数
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券