腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
我
不明白
为什么
python
中
的
googletrans
不能
工作
,
它
给出
错误
:
AttributeError
:'
NoneType
‘
对象
没有
属性
'
group
’
python
、
python-3.x
、
google-translate
我
只是想了解如何在
python
中使用
googletrans
,
我
写出了以下代码: from
googletrans
import Translator print(result.text) 但由于某种原因,
它
给出
了
错误</e
浏览 68
提问于2021-07-17
得票数 1
回答已采纳
2
回答
使用
Python
进行语言翻译
python-2.7
、
google-translate
我
曾经使用过
GoogleTrans
,但由于出现此
错误
而停止
工作
AttributeError
: '
NoneType
' object has no attribute '
group
' 然后
我
找到了这篇文章
googletrans
stopped working with error '
NoneType
' object has no attribute '
浏览 12
提问于2021-07-24
得票数 1
1
回答
用于
python
:
属性
错误
python
、
pandas
、
google-translate
我
想把
我
的
数据栏从日语翻译成英文。搜索后,
我
找到了谷歌翻译API。lambda x: translator.translate(x, src="ja", dest="en").text)
我
将列类型从obje
浏览 7
提问于2022-10-26
得票数 0
1
回答
使用
googletrans
将西班牙语翻译成英语
python-3.x
、
google-translate
我
正在尝试使用
googletrans
将一些西班牙文本翻译成英语。下面是
我
的
代码。from
googletrans
import Translatortxt = translator.translate('tener', src='es', dest='en')
AttributeError
:'
No
浏览 7
提问于2021-01-22
得票数 0
回答已采纳
1
回答
为什么
我
在使用
googletrans
进行语言翻译时得到一个"
AttributeError
:'
NoneType
‘
对象
没有
属性
'
group
’?
python
在试图使用
googletrans
将任何语言翻译成英语时,
我
遇到了一个
错误
:"
AttributeError
:'
NoneType
‘
对象
没有
属性
'
group
“from
googletrans
浏览 1
提问于2022-11-07
得票数 0
回答已采纳
3
回答
Google在
python
中
的
翻译
python
、
google-translate
当从使用此代码时print(result.dest)print(result.text)
我
得到了'
AttributeError
:'
NoneType
‘
对象
没
浏览 4
提问于2021-12-26
得票数 2
回答已采纳
1
回答
google翻译器功能
中
的
属性
错误
python
、
function
、
translation
我
试图创建一个翻译功能与谷歌翻译器。到目前为止,
我
掌握
的
代码是非常基本
的
:translator = Translator()但是每次
我
得到相同
的
错误
:
AttributeError
:'
NoneType
‘
对象</e
浏览 6
提问于2022-04-16
得票数 0
回答已采纳
2
回答
无法使用
Python
中
googletrans
模块
中
的
Translator()函数
python
、
jupyter-notebook
、
anaconda3
我
使用这段代码来翻译字符串'Hola‘:from
googletrans
import Translator但是
我
得到了这个
错误
:
我
使用
的
是P
浏览 23
提问于2022-07-31
得票数 1
回答已采纳
1
回答
如何解决调用防火墙客户端时
的
grpc
错误
python
、
google-app-engine
、
google-cloud-firestore
、
fastapi
我
在应用程序引擎上托管了一个fastAPI api。
它
使用防火墙客户端调用防火墙。有时,有些调用(50次
中
的
1次)由于此
错误
而失败: at ._parse_grpc_error_de
浏览 13
提问于2022-08-24
得票数 0
1
回答
潘达斯语篇翻译
python
、
pandas
、
dataframe
、
translation
我
试图使用
python
翻译一个文本列,
它
包含不同语言
的
不同文本。
我
的
代码还没什么特别之处。import pandas as pd
我
使用了以下代码:df['Text to English'] = df['Text
浏览 4
提问于2018-12-13
得票数 2
回答已采纳
1
回答
如何修复:
AttributeError
:'
NoneType
‘
对象
没有
属性
'
group
’
python
、
python-3.x
、
google-api
、
translation
、
google-translate
我
正在运行以下代码:from pprint import print 在运行这段代码时,
我
得到
的
错误
是:
AttributeError
:'
NoneTyp
浏览 5
提问于2021-06-13
得票数 1
回答已采纳
1
回答
Python
三元
对象
属性
按顺序计算?
python
、
tuples
、
ternary
我
对
Python
的
使用还比较陌生,前几天
我
在编写代码时注意到了一些奇怪
的
东西。
我
使用
Python
3.8运行这个程序,并得到一个
对象
属性
错误
。但是不应该访问
属性
,因为条件是真的。这似乎已经被回答了,但我找不到一个重复
的
问题。有人能帮我指出正确
的
方向吗?谢谢你
的
帮助。#
AttributeError
: '
NoneTy
浏览 9
提问于2022-01-08
得票数 1
回答已采纳
1
回答
使用BeautifulSoup
AttributeError
进行
Python
抓取:'
NoneType
‘
对象
没有
属性
'text’
python
、
beautifulsoup
、
python-requests
我
不知道
为什么
要收到
错误
消息
AttributeError
:'
NoneType
‘
对象
在使用BeautifulSoup在WebScraping上运行
Python
2
中
的
代码时
没有
属性
'text’?
错误
信息:在()
At
浏览 0
提问于2019-01-09
得票数 2
回答已采纳
5
回答
为什么
正则表达式返回
python
中
的
错误
?
python
、
regex
正在尝试
python
中
的
以下正则表达式,但它返回一个
错误
...<=[WORD])\w+',str(line))
我
得到以下
错误
:
AttributeError
:'
NoneType
‘
对象
没有
属性
'
group
'
浏览 0
提问于2009-03-05
得票数 3
2
回答
NoneType
‘object
没有
属性
'
group
’
python
、
data-analysis
我
在
python
中
是新手,
我
正在使用pycharm.when,
我
在
python
中
运行这段代码,空闲
它
的
运行,但是当我使用这个代码时,
我
在pycharm
中
,
它
的
显示
错误
如下import sysline = line_string.rstrip() date = re.search(r'
浏览 3
提问于2017-08-31
得票数 0
1
回答
AttributeError
:“
NoneType
”“
对象
没有
具有”“lower”“
属性
的
PyWhatkit库”“
whatsapp
、
attributeerror
这是
我
的
代码: import pywhatkit pywhatkit.sendwhatmsg("+34*********","Buenas tardes",20,59) 这就是
我
的
错误
:
AttributeError
:'
NoneType
‘
对象
没有
'lower’
属性
为什么
?
我
不明白
。
浏览 14
提问于2021-04-29
得票数 0
3
回答
实例变量出现
NoneType
错误
python
、
class
我
有点小问题。出于某种原因,
我
试图组合
的
这个类抛出了一个
NoneType
错误
,而据我所知,
它
应该是正确响应
的
。= self.hostTier_regex.search( self.hostName.
group
() ) self.hostEnv = self.hostEnv_re
浏览 1
提问于2012-01-10
得票数 0
回答已采纳
1
回答
Strom:'
NoneType
‘
对象
没有
属性
'
group
’
apache-storm
我
正在用wordcount示例尝试Petrel,但发现了以下问题: "/home/jonas/.local/lib/
python
2.7/site-packages/petrel-0.9.4.0.3-py2.7.egg/petrel/cmdline.py",$petrel提交--配置topology.yaml -logdir pwd '
NoneType
‘
对象
没有
属性
“<
浏览 3
提问于2016-04-15
得票数 0
1
回答
不使用re.match
的
lookbehind
python
、
regex
、
string
、
lookbehind
以下
python
代码:procLine = re.match(r'(?.*', line) print(line + ": did not match regex") print(procLine.
group
()) 回溯(最近一次调用):文件&
浏览 1
提问于2017-09-30
得票数 7
回答已采纳
3
回答
试图捕获
python
中
的
一个大型多行块
python
、
regex
、
raspberry-pi
我
对
python
很陌生,在运行
python
的
raspberry pi上捕捉多行文本块时遇到了问题。linestring = """TES
浏览 10
提问于2014-01-19
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
函数传入参数的问题
Begin,Python-异常处理与调试
Python进阶-内建函数
python面对对象(一)—什么是面向对象,类和实例,访问限制
一切皆对象——Python面向对象(一)
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
即时通信 IM
活动推荐
运营活动
广告
关闭
领券