![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错信息
张喵喵是小仙女
这个作者很懒,什么都没留下…
展开
-
python报错问题,TypeError: _locateAll_python() got an unexpected keyword argument 'confidence
locateonscreen 函数添加confidence参数后报错,提示TypeError: _locateAll_python() got an unexpected keyword argument 'confidence‘解决办法:需要先安装opencv,pip install opencv-python...原创 2019-09-04 17:44:27 · 5162 阅读 · 3 评论 -
python报错——TypeError: Cannot create a consistent method resolution
TypeError: Cannot create a consistent method resolution这个报错的因为在函数继承类时,有一个类与父类继承的类重复啦~例如:class A: passclass B(A): passclass C(B,A): passruntest=C()运行后报错:TypeError...原创 2019-09-02 17:15:52 · 4951 阅读 · 6 评论 -
python报错问题—— xxx takes 1 positional argument but 2 were given
出现这个问题的原因是,函数在定义的时候少了self,如果写成def get_html(url),这时候就会报错 get_html() takes 1 positional argument but 2 were given原创 2019-08-22 14:32:29 · 20243 阅读 · 1 评论 -
selenium,启动Safari浏览器,报错“You must enable the 'Allow Remote Automation' option in Safari's Develop me”
selenium在启动Safari浏览器,报错“You must enable the 'Allow Remote Automation' option in Safari's Develop me”,原因是需勾选safari-开发-允许远程自动化。如图。...原创 2019-01-23 21:22:39 · 3878 阅读 · 0 评论 -
Can not connect to the Service chromedriver的解决方法
hosts文件里面 需要配置:127.0.0.1 localhost原创 2019-01-10 18:37:13 · 1647 阅读 · 1 评论