sparse_dot_topn icon indicating copy to clipboard operation
sparse_dot_topn copied to clipboard

unable to install on linux with arm platform

Open asiunov opened this issue 1 year ago • 4 comments

$ pip3 install sparse-dot-topn==0.3.3
...
ERROR: Could not find a version that satisfies the requirement sparse-dot-topn==0.3.3 (from versions: 0.2, 0.2.1, 0.2.2, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 0.2.8, 0.2.9, 0.3.0, 0.3.1)
ERROR: No matching distribution found for sparse-dot-topn==0.3.3

If I understand correctly, this is because starting 0.3.2 the source package is not delivered to pypi repository and there is no binary for this OS and architecture combination.

$ python3
>>> import sysconfig; sysconfig.get_platform()
'linux-aarch64'
>>> from pip._vendor.packaging.tags import platform_tags; list(platform_tags())
['manylinux_2_31_aarch64', 'manylinux_2_30_aarch64', 'manylinux_2_29_aarch64', 'manylinux_2_28_aarch64', 'manylinux_2_27_aarch64', 'manylinux_2_26_aarch64', 'manylinux_2_25_aarch64', 'manylinux_2_24_aarch64', 'manylinux_2_23_aarch64', 'manylinux_2_22_aarch64', 'manylinux_2_21_aarch64', 'manylinux_2_20_aarch64', 'manylinux_2_19_aarch64', 'manylinux_2_18_aarch64', 'manylinux_2_17_aarch64', 'manylinux2014_aarch64', 'linux_aarch64']

asiunov avatar Sep 27 '22 21:09 asiunov

Could you tell us which version of python you are using?

On Wed, 28 Sep 2022, 04:24 Andrey Siunov, @.***> wrote:

pip3 install sparse-dot-topn==0.3.3

— Reply to this email directly, view it on GitHub https://github.com/ing-bank/sparse_dot_topn/issues/76, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJBFDFKV35MMGITO6RW3Z3WANQYZANCNFSM6AAAAAAQXFSYIU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

stephanecollot avatar Sep 28 '22 06:09 stephanecollot

python 3.9.9 pip 22.0.4

asiunov avatar Sep 29 '22 04:09 asiunov

Thanks for your feedback @asiunov!

Since v0.3.2, we employed cibuildwheels to generate wheels for different OS and arch.

Unfortunately, we met some problems when we build wheels on Linux ARM. You can see this comments. At that time, we didn't know how to solve the issue, so we skipped that Linux ARM wheel build.

@asiunov, if you would like to chip in this issue and do some investigation why sparse_dot_topn cibuildwheels doesn't work, we will be very appreciated.

ymwdalex avatar Sep 30 '22 17:09 ymwdalex

@ymwdalex there is no tarball with the source files for >= 0.3.2 Most packages include source files alongside the wheels such that people on platforms/archs for which there are no wheels can compile/install themselves.

pip install sparse-dot-topn --no-binary=sparse-dot-topn grabs 0.3.1

RUrlus avatar Sep 30 '22 18:09 RUrlus