I have installed the swig and swig decoder package from the below methods:
Swig: yum install swig
Swig Decoders:
Clone https://github.com/PaddlePaddle/DeepSpeech/
Cd into decoders/swig/ and run ./setup.sh
Problem: When I am importing the swig decoder library in python it's showing the below errors:
Python 2.7.5 (default, Feb 20 2018, 09:19:12)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import swig_decoders
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/swig_decoders-1.1-py2.7-linux-x86_64.egg/swig_decoders.py", line 28, in <module>
_swig_decoders = swig_import_helper()
File "/usr/lib64/python2.7/site-packages/swig_decoders-1.1-py2.7-linux-x86_64.egg/swig_decoders.py", line 24, in swig_import_helper
_mod = imp.load_module('_swig_decoders', fp, pathname, description)
ImportError: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib64/python2.7/site-packages/swig_decoders-1.1-py2.7-linux-x86_64.egg/_swig_decoders.so)
>>>