Nouman Rasheed

Results 10 comments of Nouman Rasheed

Hey. Did you find the solution?

I've changed the line 22 to recognizer = pickle.loads(open("output/recognizer", "rb").read()) but it's not working.

![Screenshot from 2022-07-27 08-41-09](https://user-images.githubusercontent.com/50593062/181169969-4c3fa31a-7589-49ec-9d9e-9140acf166c2.png) Here this is the output right now. I also showed the packages versions i am using.

![Screenshot from 2022-07-27 14-32-03](https://user-images.githubusercontent.com/50593062/181236673-95fc31d0-f224-4eaa-a8f9-da6f7271c87a.png) Its working for the test_simple.py test.wav but the same error for test_microphone.py ``` Segmentation fault (core dumped) ````

I am using - Ubuntu 22.04 LTS - PyAudio==0.2.11 - python==3.7.0

![Screenshot from 2022-07-27 16-03-04](https://user-images.githubusercontent.com/50593062/181253633-0ec466e4-5cb4-4033-a528-1e4122c87c14.png) Yes tracked the error. but cannot understand it. its not giving the full path so i can put the file there. Backtrace. ![Screenshot from 2022-07-27 16-05-06](https://user-images.githubusercontent.com/50593062/181254069-710f1ef9-18e3-4f18-a87e-7608eaf5f0c5.png)

![Screenshot from 2022-07-28 08-46-11](https://user-images.githubusercontent.com/50593062/181429816-9bed715d-a63a-447f-90b9-c06732e30dbd.png) Yes its working without any crash.

Other files are working fine the crash is with only test_microphone.py file. I tried with different versions of python as well but its the same error

I got it working. thank you so much for guiding man !! I case anyone have the problems installing Pyaudio in Ubuntu you can use ``` $ sudo apt-get install...

It was required to run the test_microphone.py file. But after i installed this it started working