rnnt-speech-recognition icon indicating copy to clipboard operation
rnnt-speech-recognition copied to clipboard

error setting up rent loss in macOS

Open Manish-rai21bit opened this issue 3 years ago • 1 comments

Hi,

Great work setting up this repo. I am working on a Mac OS and have a gcc 4.2. I run into this error when trying to setup run loss using this script bash script/build.sh:

`CMake Error at /Users/mr/Desktop/venv-asr/lib/python3.7/site-packages/cmake/data/CMake.app/Contents/share/cmake-3.7/Modules/CMakeDetermineCCompiler.cmake:48 (message): Could not find compiler set in environment variable CC:

gcc-4.8. Call Stack (most recent call first): CMakeLists.txt:7 (project)

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/Users/mr/Desktop/vt-voice-to-text/rnnt-speech-recognition/warp-transducer/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop. scripts/build_rnnt.sh: line 11: cd: ../tensorflow_binding: No such file or directory python: can't open file 'setup.py': [Errno 2] No such file or directory`

I am not able to resolve this issue. Can someone help me here?

Manish-rai21bit avatar Aug 12 '20 17:08 Manish-rai21bit

@Manish-rai21bit Try running chmod +x ./scripts/build_rnnt.sh followed by ./scripts/build_rnnt.sh

noahchalifour avatar Sep 04 '20 23:09 noahchalifour