hello, So I just installed linux and whent and tried installing python-espeak via pip, However i get an error, Here's the log
Collecting python-espeak
Using cached python-espeak-0.6.3.tar.gz (9.1 kB)
Building wheels for collected packages: python-espeak
Building wheel for python-espeak (setup.py) ... [?25l- \ | error
[31m ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zye_kb44/python-espeak/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zye_kb44/python-espeak/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0_wp733p
cwd: /tmp/pip-install-zye_kb44/python-espeak/
Complete output (17 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/espeak
copying espeak/__init__.py -> build/lib.linux-x86_64-3.8/espeak
running build_ext
building 'espeak.core' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/espeak
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c espeak/espeakmodulecore.cpp -o build/temp.linux-x86_64-3.8/espeak/espeakmodulecore.o
espeak/espeakmodulecore.cpp:23:10: fatal error: espeak/speak_lib.h: No such file or directory
23 | #include <espeak/speak_lib.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
----------------------------------------[0m
[31m ERROR: Failed building wheel for python-espeak[0m
[?25h Running setup.py clean for python-espeak
Failed to build python-espeak
Installing collected packages: python-espeak
Running setup.py install for python-espeak ... [?25l- \ | error
[31m ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zye_kb44/python-espeak/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zye_kb44/python-espeak/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-5yd68ny3/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /home/mohamed/.local/include/python3.8/python-espeak
cwd: /tmp/pip-install-zye_kb44/python-espeak/
Complete output (17 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.8
creating build/lib.linux-x86_64-3.8/espeak
copying espeak/__init__.py -> build/lib.linux-x86_64-3.8/espeak
running build_ext
building 'espeak.core' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/espeak
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c espeak/espeakmodulecore.cpp -o build/temp.linux-x86_64-3.8/espeak/espeakmodulecore.o
espeak/espeakmodulecore.cpp:23:10: fatal error: espeak/speak_lib.h: No such file or directory
23 | #include <espeak/speak_lib.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
-------
Pages 1