-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error messages when launched on Arch Linux #17
Comments
Hello,
I hope this provides some direction. |
Hello, $ pipenv install python-espeak
[pipenv.exceptions.InstallError]: Ignoring libloader: markers 'sys_platform == "win32"' don't match your environment
[pipenv.exceptions.InstallError]: Collecting python-espeak==0.6.3 (from -r /tmp/pipenv-ci0psnp_-requirements/pipenv-qee7yi_t-hashed-reqs.txt (line 2))
[pipenv.exceptions.InstallError]: Using cached python-espeak-0.6.3.tar.gz (9.1 kB)
[pipenv.exceptions.InstallError]: Preparing metadata (setup.py): started
[pipenv.exceptions.InstallError]: Preparing metadata (setup.py): finished with status 'done'
[pipenv.exceptions.InstallError]: Building wheels for collected packages: python-espeak
[pipenv.exceptions.InstallError]: Building wheel for python-espeak (setup.py): started
[pipenv.exceptions.InstallError]: Building wheel for python-espeak (setup.py): finished with status 'error'
[pipenv.exceptions.InstallError]: Running setup.py clean for python-espeak
[pipenv.exceptions.InstallError]: Failed to build python-espeak
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: × python setup.py bdist_wheel did not run successfully.
[pipenv.exceptions.InstallError]: │ exit code: 1
[pipenv.exceptions.InstallError]: ╰─> [19 lines of output]
[pipenv.exceptions.InstallError]: running bdist_wheel
[pipenv.exceptions.InstallError]: running build
[pipenv.exceptions.InstallError]: running build_py
[pipenv.exceptions.InstallError]: creating build
[pipenv.exceptions.InstallError]: creating build/lib.linux-x86_64-cpython-311
[pipenv.exceptions.InstallError]: creating build/lib.linux-x86_64-cpython-311/espeak
[pipenv.exceptions.InstallError]: copying espeak/__init__.py -> build/lib.linux-x86_64-cpython-311/espeak
[pipenv.exceptions.InstallError]: warning: build_py: byte-compiling is disabled, skipping.
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: running build_ext
[pipenv.exceptions.InstallError]: building 'espeak.core' extension
[pipenv.exceptions.InstallError]: creating build/temp.linux-x86_64-cpython-311
[pipenv.exceptions.InstallError]: creating build/temp.linux-x86_64-cpython-311/espeak
[pipenv.exceptions.InstallError]: gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/home/seva/.local/share/virtualenvs/fluffy-the-king-of-kings-_YjFnqQ6/include -I/usr/include/python3.11 -c espeak/espeakmodulecore.cpp -o build/temp.linux-x86_64-cpython-311/espeak/espeakmodulecore.o
[pipenv.exceptions.InstallError]: espeak/espeakmodulecore.cpp:23:10: фатальная ошибка: espeak/speak_lib.h: Нет такого файла или каталога
[pipenv.exceptions.InstallError]: 23 | #include <espeak/speak_lib.h>
[pipenv.exceptions.InstallError]: | ^~~~~~~~~~~~~~~~~~~~
[pipenv.exceptions.InstallError]: компиляция прервана.
[pipenv.exceptions.InstallError]: error: command '/usr/bin/gcc' failed with exit code 1
[pipenv.exceptions.InstallError]: [end of output]
[pipenv.exceptions.InstallError]:
[pipenv.exceptions.InstallError]: note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]: ERROR: Failed building wheel for python-espeak
[pipenv.exceptions.InstallError]: ERROR: Could not build wheels for python-espeak, which is required to install pyproject.toml-based projects
ERROR: Couldn't install package: {}
Package installation failed. |
Hi all,
I am trying to use accessible_output2 with Orca and there is an error when I am running the test sample code.
import Accessible_output2.outputs.auto
o = accessible_output2.outputs.auto.Auto()
Output:
Cannot find Speech Dispatcher. Please install python-speechd or python3-speechd.
Cannot find espeak.core. Please install python-espeak or python3-espeak.
Arch Linux, Orca and speech-dispatcher from git, the latest version of espeak-ng.
I tried to search for python3-speechd and python3-espeak packages but there are no any in AUR.
Note:
pipenv is used, the library was installed with pipenv install accessible_output2.
I was told that I need to create a virtual environment with --system-site-packages flag but I don't know how to do that with pipenv yet.
The text was updated successfully, but these errors were encountered: