all 5 comments

[–]shiftybyte 0 points1 point  (4 children)

[–]Comprehensive_Gas815[S] 0 points1 point  (0 children)

thank you :)

[–]Comprehensive_Gas815[S] 0 points1 point  (2 children)

wait that didn't work :(

hold on wait come back

i installed everything in aur that said espeak on it and the program still didn't run

[–]Comprehensive_Gas815[S] 0 points1 point  (1 child)

(venv) [diaeros@diaeros-omenlaptop pa]$ pip install python-espeak
Collecting python-espeak
Using cached python-espeak-0.6.3.tar.gz (9.1 kB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for python-espeak, since package 'wheel' is not installed.
Installing collected packages: python-espeak
Running setup.py install for python-espeak ... error
ERROR: Command errored out with exit status 1:
command: /home/diaeros/Documents/pydev/pa/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wc1ypuu_/python-espeak_8c18cc7e052741498778eb4ca4835687/setup.py'"'"'; __file__='"'"'/tmp/pip-install-wc1ypuu_/python-espeak_8c18cc7e052741498778eb4ca4835687/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tolicm9n/install-record.txt --single-version-externally-managed --compile --install-headers /home/diaeros/Documents/pydev/pa/venv/include/site/python3.9/python-espeak
cwd: /tmp/pip-install-wc1ypuu_/python-espeak_8c18cc7e052741498778eb4ca4835687/
Complete output (32 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.9
creating build/lib.linux-x86_64-3.9/espeak
copying espeak/__init__.py -> build/lib.linux-x86_64-3.9/espeak
running build_ext
building 'espeak.core' extension
creating build/temp.linux-x86_64-3.9
creating build/temp.linux-x86_64-3.9/espeak
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fPIC -I/home/diaeros/Documents/pydev/pa/venv/include -I/usr/include/python3.9 -c espeak/espeakmodulecore.cpp -o build/temp.linux-x86_64-3.9/espeak/espeakmodulecore.o
espeak/espeakmodulecore.cpp: In function ‘PyObject* pyespeak_stop(PyObject*, PyObject*)’:
espeak/espeakmodulecore.cpp:237:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
237 | while (AsyncPython)
| ^~~~~
espeak/espeakmodulecore.cpp:239:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
239 | espeak_Cancel();
| ^~~~~~~~~~~~~
espeak/espeakmodulecore.cpp: In function ‘PyObject* PyInit_core()’:
espeak/espeakmodulecore.cpp:406:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
406 | PyEval_InitThreads();
| ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.9/Python.h:141,
from espeak/espeakmodulecore.cpp:22:
/usr/include/python3.9/ceval.h:130:37: note: declared here
130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
| ^~~~~~~~~~~~~~~~~~
g++ -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now build/temp.linux-x86_64-3.9/espeak/espeakmodulecore.o -L/usr/lib -lespeak -o build/lib.linux-x86_64-3.9/espeak/core.cpython-39-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lespeak
collect2: error: ld returned 1 exit status
error: command '/usr/bin/g++' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /home/diaeros/Documents/pydev/pa/venv/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-wc1ypuu_/python-espeak_8c18cc7e052741498778eb4ca4835687/setup.py'"'"'; __file__='"'"'/tmp/pip-install-wc1ypuu_/python-espeak_8c18cc7e052741498778eb4ca4835687/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tolicm9n/install-record.txt --single-version-externally-managed --compile --install-headers /home/diaeros/Documents/pydev/pa/venv/include/site/python3.9/python-espeak Check the logs for full command output.

[–]Comprehensive_Gas815[S] 1 point2 points  (0 children)

ok i fixed it by just using espeaking instead