readbeyond / aeneas

aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
http://www.readbeyond.it/aeneas/
GNU Affero General Public License v3.0
2.45k stars 218 forks source link

Not able to install aeneas in Ubuntu 14.04 using pip #220

Closed vaibhavreddys closed 5 years ago

vaibhavreddys commented 5 years ago

When I run sudo pip install aeneas, I'm getting the below mentioned error:

creating build/temp.linux-x86_64-2.7/aeneas/cew compile options: '-I['/usr/local/lib/python2.7/dist-packages/numpy/core/include'] -I/usr/include/python2.7 -c' x86_64-linux-gnu-gcc: aeneas/cew/cew_func.c x86_64-linux-gnu-gcc: aeneas/cew/cew_py.c x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/aeneas/cew/cew_py.o build/temp.linux-x86_64-2.7/aeneas/cew/cew_func.o -lespeak -o build/lib.linux-x86_64-2.7/aeneas/cew/cew.so /usr/bin/ld: cannot find -lespeak collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find -lespeak collect2: error: ld returned 1 exit status**** error: Command "x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/aeneas/cew/cew_py.o build/temp.linux-x86_64-2.7/aeneas/cew/cew_func.o -lespeak -o build/lib.linux-x86_64-2.7/aeneas/cew/cew.so" failed with exit status 1


Failed building wheel for aeneas

readbeyond commented 5 years ago

You do not have the espeak headers installed.

Please read:

https://github.com/readbeyond/aeneas/blob/master/wiki/INSTALL.md

I guess you need to apt-get install libespeak-dev first. You can also use the install_dependencies.sh script: it was tested on Debian, but it should work for Ubuntu as well.

Best regards,

Alberto Pettarin

On 10/25/2018 12:00 PM, Vaibhav Reddy wrote:

When I run |sudo pip install aeneas|, I'm getting the below mentioned error:

creating build/temp.linux-x86_64-2.7/aeneas/cew compile options: '-I['/usr/local/lib/python2.7/dist-packages/numpy/core/include'] -I/usr/include/python2.7 -c' x86_64-linux-gnu-gcc: aeneas/cew/cew_func.c x86_64-linux-gnu-gcc: aeneas/cew/cew_py.c x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/aeneas/cew/cew_py.o build/temp.linux-x86_64-2.7/aeneas/cew/cew_func.o -lespeak -o build/lib.linux-x86_64-2.7/aeneas/cew/cew.so /usr/bin/ld: cannot find -lespeak collect2: error: ld returned 1 exit status /usr/bin/ld: cannot find -lespeak collect2: error: ld returned 1 exit status error: Command "x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/aeneas/cew/cew_py.o build/temp.linux-x86_64-2.7/aeneas/cew/cew_func.o -lespeak -o build/lib.linux-x86_64-2.7/aeneas/cew/cew.so" failed with exit status 1


Failed building wheel for aeneas

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/readbeyond/aeneas/issues/220, or mute the thread https://github.com/notifications/unsubscribe-auth/AFEoduVpTPHHP5uNF3vJeYm0383A-goSks5uoYvCgaJpZM4X5698.

vaibhavreddys commented 5 years ago

Yes, it worked after running install_dependencies.sh script.

Thankyou @readbeyond