Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

RuntimeError: Failed to initialize PocketSphinx #26

Open
jimmyounes opened this issue Jun 20, 2024 · 0 comments
Open

RuntimeError: Failed to initialize PocketSphinx #26

jimmyounes opened this issue Jun 20, 2024 · 0 comments

Comments

@jimmyounes
Copy link

hey hope you're fine , when i run one of your examples i get an issue . any help please ? File "c:\Users\YounèsAITKETTOUT\Desktop\Travail\keywords_SERP_clustering\test.py", line 7, in
is_checked = reCaptchaV2(driver=driver, play=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\YounèsAITKETTOUT\AppData\Local\Programs\Python\Python311\Lib\site-packages\pypasser\reCaptchaV2_init_.py", line 70, in new
raise e
File "C:\Users\YounèsAITKETTOUT\AppData\Local\Programs\Python\Python311\Lib\site-packages\pypasser\reCaptchaV2_init_.py", line 56, in new
cls.type_text(instance.driver, cls.speech_to_text(file_path))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\YounèsAITKETTOUT\AppData\Local\Programs\Python\Python311\Lib\site-packages\pypasser\reCaptchaV2_init_.py", line 120, in speech_to_text
return r.recognize_sphinx(audio)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\YounèsAITKETTOUT\AppData\Local\Programs\Python\Python311\Lib\site-packages\speech_recognition_init_.py", line 760, in recognize_sphinx
decoder = pocketsphinx.Decoder(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pocketsphinx.pyx", line 852, in pocketsphinx.Decoder.init
RuntimeError: Failed to initialize PocketSphinx
Exception ignored in: <function Chrome.del at 0x000001811D4EB4C0>
Traceback (most recent call last):
File "C:\Users\YounèsAITKETTOUT\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver_init
.py", line 843, in del
File "C:\Users\YounèsAITKETTOUT\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver_init
.py", line 798, in quit
OSError: [WinError 6] Descripteur non valide

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant