cgohlke / imagecodecs

Image transformation, compression, and decompression codecs
https://pypi.org/project/imagecodecs
BSD 3-Clause "New" or "Revised" License
111 stars 21 forks source link

Error when build from source #23

Closed vanchung1995 closed 2 years ago

vanchung1995 commented 2 years ago

I tried to build from source instead of run pip install (I used python setup.py install). But it failed and I don't know what to do My pip version is 21.2.4 from python 3.8

Screenshot from 2021-09-07 12-32-59

cgohlke commented 2 years ago

You are not building against Python 3.8 but 3.6, which is no longer supported. There are some notes regarding the requirements for building from source. The wheel build scripts are in a separate repo.

https://github.com/cgohlke/imagecodecs/blob/8eec683f117b44c178785f542831f530511608ff/imagecodecs/imagecodecs.py#L58-L115

https://github.com/cgohlke/imagecodecs/blob/8eec683f117b44c178785f542831f530511608ff/imagecodecs/imagecodecs.py#L162-L186