Python Forum
Troubles with instaling pocketsphinx - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Troubles with instaling pocketsphinx (/thread-12060.html)



Troubles with instaling pocketsphinx - Thais781 - Aug-07-2018

Hello,

First, sorry for my english, I am a french girl

I need to install textract and textract need to install pocketsphinx
So when I try to install it with Python 3.6 I got the following error

pip3 install pocketsphinx ...... creating build/temp.macosx-10.6-x86_64-3.6/deps/sphinxbase/swig /usr/bin/gcc-4.2 -fno-strict-aliasing -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -DSPHINXBASE_EXPORTS -DPOCKETSPHINX_EXPORTS -DSPHINX_DLL -DHAVE_CONFIG_H -Ideps/sphinxbase/include -Ideps/sphinxbase/include/sphinxbase -Ideps/sphinxbase/include/android -I/System/Library/Frameworks/OpenAL.framework/Versions/A/Headers -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c deps/sphinxbase/src/libsphinxbase/lm/fsg_model.c -o build/temp.macosx-10.6-x86_64-3.6/deps/sphinxbase/src/libsphinxbase/lm/fsg_model.o -Wno-macro-redefined -Wno-sign-compare -Wno-logical-op-parentheses cc1: error: unrecognized command line option "-Wno-macro-redefined" cc1: error: unrecognized command line option "-Wno-logical-op-parentheses" error: command '/usr/bin/gcc-4.2' failed with exit status 1
Perhaps I forgot somethings ? with CFLAGS configuration ?
If you have an idea what goiing wrong please help me Sad

Thanks by advance for your help

Thais


RE: Troubles with instaling pocketsphinx - Larz60+ - Aug-07-2018

are you on Linux?


This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.