I am not able to import speech\_recognition module using python 2.6 on Centos 6.5. I have installed SpeechRecognition using pip and it installed successfully without any errors.

```
pip install SpeechRecognition

Downloading SpeechRecognition-3.6.5-py2.py3-none-any.whl (31.8MB)
100% |████████████████████████████████| 31.8MB 14kB/s 
Installing collected packages: SpeechRecognition
Successfully installed SpeechRecognition-3.6.5

```

But Somehow I am not able to import it.

```
>>> import speech_recognition
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/site-packages/speech_recognition/__init__.py", line 1070
if system == "Windows" and machine in {"i686", "i786", "x86", "x86_64", "AMD64"}:
                                             ^
SyntaxError: invalid syntax
>>> 

```