Python Forum
Troubles with instaling pocketsphinx
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Troubles with instaling pocketsphinx
#1
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
Reply
#2
are you on Linux?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  troubles with tqdm max22 2 517 Nov-27-2023, 09:20 PM
Last Post: max22
  Installation troubles on Win 10 peringek 1 2,931 Dec-31-2020, 07:30 AM
Last Post: caleb_cruze
  converting user input to float troubles RecklessTechGuy 3 2,460 Aug-17-2020, 12:41 PM
Last Post: deanhystad
  csv troubles DPaul 4 2,340 Aug-13-2020, 05:18 PM
Last Post: DPaul
  Win32API Troubles daaaabs 2 2,944 Mar-24-2020, 08:19 PM
Last Post: daaaabs
  local variable troubles yokaso 4 3,199 Oct-20-2019, 05:25 PM
Last Post: ichabod801
  Troubles with classes, taken from a book sylas 2 3,199 Jun-05-2017, 08:39 AM
Last Post: sylas
  [?] UTF8, Unicode and Binary data reading troubles doublezero 1 3,158 Mar-31-2017, 11:32 PM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020