Skip to content
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

fatal error: libyang/libyang.h: No such file or directory #123

Open
Narasim opened this issue Sep 13, 2024 · 0 comments
Open

fatal error: libyang/libyang.h: No such file or directory #123

Narasim opened this issue Sep 13, 2024 · 0 comments

Comments

@Narasim
Copy link

Narasim commented Sep 13, 2024

Building wheels for collected packages: libyang
Building wheel for libyang (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for libyang (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.10
creating build/lib.linux-x86_64-3.10/libyang
copying libyang/util.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/log.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/schema.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/xpath.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/init.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/context.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/diff.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/data.py -> build/lib.linux-x86_64-3.10/libyang
copying libyang/keyed_list.py -> build/lib.linux-x86_64-3.10/libyang
running egg_info
writing manifest file 'libyang.egg-info/SOURCES.txt'
copying libyang/VERSION -> build/lib.linux-x86_64-3.10/libyang
copying libyang/py.typed -> build/lib.linux-x86_64-3.10/libyang
running build_ext
creating build/temp.linux-x86_64-3.10
creating build/temp.linux-x86_64-3.10/build
creating build/temp.linux-x86_64-3.10/build/temp.linux-x86_64-3.10
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/home/build/opt/ly/include -I/usr/include/python3.10 -c build/temp.linux-x86_64-3.10/_libyang.c -o build/temp.linux-x86_64-3.10/build/temp.linux-x86_64-3.10/_libyang.o -Werror -std=c99 -O3
build/temp.linux-x86_64-3.10/_libyang.c:574:10: fatal error: libyang/libyang.h: No such file or directory
574 | #include <libyang/libyang.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for libyang
Failed to build libyang
ERROR: Could not build wheels for libyang, which is required to install pyproject.toml-based projects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant