nekhtiari / image-similarity-measures

:chart_with_upwards_trend: Implementation of eight evaluation metrics to access the similarity between two images. The eight metrics are as follows: RMSE, PSNR, SSIM, ISSM, FSIM, SRE, SAM, and UIQ.
MIT License
589 stars 68 forks source link

Pip install error on "Preparing metadata" #74

Open MinhxNguyen7 opened 1 month ago

MinhxNguyen7 commented 1 month ago

Summary

When I try to install with pip install image-similarity-measures, it errors out on Preparing metadata (pyproject.toml). Looks like something to do with building C/C++ libraries, but I'm not sure.

It seems that the installation doesn't work with python==3.12 but it does work with python==3.11. Furthermore, the successful installation seems quite quick. My guess is that there isn't a binary for 3.12, and the build process doesn't work.

Output

stdout stderr

Environment

blinker==1.8.2
Brotli @ file:///C:/b/abs_3d36mno480/croot/brotli-split_1714483178642/work
certifi @ file:///C:/b/abs_1fw_exq1si/croot/certifi_1725551736618/work/certifi
charset-normalizer @ file:///croot/charset-normalizer_1721748349566/work
click==8.1.7
colorama==0.4.6
contourpy==1.3.0
cycler==0.12.1
easyocr==1.7.2
filelock @ file:///C:/Users/dev-admin/perseverance-python-buildout/croot/filelock_1701807523603/work
Flask==3.0.3
fonttools==4.54.1
fsspec==2024.9.0
idna @ file:///C:/b/abs_aad84bnnw5/croot/idna_1714398896795/work
imageio==2.35.1
itsdangerous==2.2.0
Jinja2 @ file:///C:/b/abs_92fccttino/croot/jinja2_1716993447201/work
kiwisolver==1.4.7
lazy_loader==0.4
MarkupSafe @ file:///C:/Users/dev-admin/perseverance-python-buildout/croot/markupsafe_1707425732791/work
matplotlib==3.9.2
mkl-service==2.4.0
mkl_fft @ file:///C:/b/abs_f55mv94vyg/croot/mkl_fft_1725370278455/work
mkl_random @ file:///C:/b/abs_21ydbzdu8d/croot/mkl_random_1725370276095/work
mpmath @ file:///C:/Users/dev-admin/perseverance-python-buildout/croot/mpmath_1699484863771/work
networkx @ file:///C:/b/abs_36fmumtynt/croot/networkx_1720002497414/work
ninja==1.11.1.1
numpy @ file:///C:/b/abs_c1ywpu18ar/croot/numpy_and_numpy_base_1708638681471/work/dist/numpy-1.26.4-cp312-cp312-win_amd64.whl#sha256=becc06674317799ad0165a939a7613809d0bee9bd328a1e4308c57c39cacf08c
opencv-python==4.10.0.84
opencv-python-headless==4.10.0.84
packaging==24.1
pillow @ file:///C:/b/abs_32o8er3uqp/croot/pillow_1721059447598/work
pyclipper==1.3.0.post5
pyparsing==3.1.4
pypylon==4.0.0
PySocks @ file:///C:/Users/dev-admin/perseverance-python-buildout/croot/pysocks_1699473336188/work
python-bidi==0.6.0
python-dateutil==2.9.0.post0
PyYAML @ file:///C:/Users/dev-admin/perseverance-python-buildout/croot/pyyaml_1699479991712/work
requests @ file:///C:/b/abs_9frifg92q2/croot/requests_1721410901096/work
scikit-image==0.24.0
scipy==1.14.1
setuptools==75.1.0
shapely==2.0.6
six==1.16.0
sympy @ file:///C:/b/abs_4e4p71hdj_/croot/sympy_1724938208509/work
tifffile==2024.9.20
torch==2.4.1
torchvision==0.19.1
tqdm==4.66.5
typing_extensions @ file:///C:/b/abs_0as9mdbkfl/croot/typing_extensions_1715268906610/work
urllib3 @ file:///C:/b/abs_a7hvzm4y95/croot/urllib3_1718912661242/work
Werkzeug==3.0.4
wheel==0.44.0
win-inet-pton @ file:///C:/Users/dev-admin/perseverance-python-buildout/croot/win_inet_pton_1699472992992/work