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

I am having trouble installing c2pa #34

Open
callor opened this issue Oct 17, 2024 · 0 comments
Open

I am having trouble installing c2pa #34

callor opened this issue Oct 17, 2024 · 0 comments

Comments

@callor
Copy link

callor commented Oct 17, 2024

$ python3 -m pip install c2pa Collecting c2pa Using cached c2pa-1.4.1-py3-none-any.whl.metadata (3.7 kB) Collecting py-multibase>=1.0.3 (from c2pa) Using cached py_multibase-1.0.3-py2.py3-none-any.whl.metadata (3.5 kB) Collecting pycryptodome>=3.9.9 (from c2pa) Using cached pycryptodome-3.21.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB) Collecting pymultihash>=0.8.2 (from c2pa) Using cached pymultihash-0.8.2-py3-none-any.whl.metadata (1.8 kB) Collecting py3exiv2>=0.9.3 (from c2pa) Using cached py3exiv2-0.12.0.tar.gz (47 kB) Preparing metadata (setup.py) ... done Collecting endesive>=2.0.2 (from c2pa) Using cached endesive-2.17.3-py3-none-any.whl.metadata (5.3 kB) Collecting certvalidator (from endesive>=2.0.2->c2pa) Using cached certvalidator-0.11.1-py2.py3-none-any.whl.metadata (992 bytes) Requirement already satisfied: cryptography in /home/callor/anaconda3/lib/python3.12/site-packages (from endesive>=2.0.2->c2pa) (42.0.5) Collecting asn1crypto (from endesive>=2.0.2->c2pa) Using cached asn1crypto-1.5.1-py2.py3-none-any.whl.metadata (13 kB)

During the installation process, the following error occurs and it stops.

`
Building wheels for collected packages: py3exiv2
Building wheel for py3exiv2 (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [24 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-cpython-312
creating build/lib.linux-x86_64-cpython-312/pyexiv2
copying src/pyexiv2/preview.py -> build/lib.linux-x86_64-cpython-312/pyexiv2
copying src/pyexiv2/metadata.py -> build/lib.linux-x86_64-cpython-312/pyexiv2
copying src/pyexiv2/iptc.py -> build/lib.linux-x86_64-cpython-312/pyexiv2
copying src/pyexiv2/exif.py -> build/lib.linux-x86_64-cpython-312/pyexiv2
copying src/pyexiv2/xmp.py -> build/lib.linux-x86_64-cpython-312/pyexiv2
copying src/pyexiv2/init.py -> build/lib.linux-x86_64-cpython-312/pyexiv2
copying src/pyexiv2/utils.py -> build/lib.linux-x86_64-cpython-312/pyexiv2
running build_ext
building 'libexiv2python' extension
creating build/temp.linux-x86_64-cpython-312
creating build/temp.linux-x86_64-cpython-312/src
/home/callor/anaconda3/bin/x86_64-conda-linux-gnu-cc -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /home/callor/anaconda3/include -fPIC -O2 -isystem /home/callor/anaconda3/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/callor/anaconda3/include -I/home/callor/anaconda3/targets/x86_64-linux/include -L/home/callor/anaconda3/targets/x86_64-linux/lib -L/home/callor/anaconda3/targets/x86_64-linux/lib/stubs -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/callor/anaconda3/include -I/home/callor/anaconda3/targets/x86_64-linux/include -L/home/callor/anaconda3/targets/x86_64-linux/lib -L/home/callor/anaconda3/targets/x86_64-linux/lib/stubs -fPIC -I/home/callor/anaconda3/include/python3.12 -c src/exiv2wrapper.cpp -o build/temp.linux-x86_64-cpython-312/src/exiv2wrapper.o -g -std=c++11
In file included from src/exiv2wrapper.cpp:27:
src/exiv2wrapper.hpp:33:10: fatal error: exiv2/exiv2.hpp: No such file or directory
33 | #include "exiv2/exiv2.hpp"
| ^~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/home/callor/anaconda3/bin/x86_64-conda-linux-gnu-cc' 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 py3exiv2
Running setup.py clean for py3exiv2
Failed to build py3exiv2
ERROR: Could not build wheels for py3exiv2, which is required to install pyproject.toml-based projects
`

OS : Ubuntu 24.04.1 LTS

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