@weijiz
您好,运行roslaunch asr_xunfei.launch遇到这个错误该如何解决,感谢您
File “/home/zhk2/catkin_ws/src/xiaoqiang_tts/src/xiaoqiang_asr_node.py”, line 30, in
from engines.baidu_tts import BaiduTTS as bd_client
File “/home/zhk2/catkin_ws/src/xiaoqiang_tts/src/engines/baidu_tts.py”, line 29, in
from aip import AipSpeech
File “/usr/local/lib/python2.7/dist-packages/aip/init.py”, line 6, in
from .ocr import AipOcr
File “/usr/local/lib/python2.7/dist-packages/aip/ocr.py”, line 12, in
from .base import AipBase
File “/usr/local/lib/python2.7/dist-packages/aip/base.py”, line 14, in
requests.packages.urllib3.disable_warnings()
AttributeError: ‘module’ object has no attribute ‘packages’
[xiaoqiang_asr-2] process has died [pid 6074, exit code 1, cmd /home/zhk2/catkin_ws/src/xiaoqiang_tts/src/xiaoqiang_asr_node.py ~audio:=/audio/audio ~text:=/xiaoqiang_tts/text ~audio_status:=/xiaoqiang_audio/audio_status __name:=xiaoqiang_asr __log:=/home/zhk2/.ros/log/dc555cb2-79dc-11e9-a2e6-f4ec3802170a/xiaoqiang_asr-2.log].
log file: /home/zhk2/.ros/log/dc555cb2-79dc-11e9-a2e6-f4ec3802170a/xiaoqiang_asr-2*.log