libzt icon indicating copy to clipboard operation
libzt copied to clipboard

Install Fails on M1 Mac

Open biodrone opened this issue 3 years ago • 3 comments

Tested installing this using poetry initially but it also seems to fail using pip itself. Is this just because there's no ARM build available?

Using python 3.9.7 64bit

poetry add libzt
Using version ^1.4.2 for libzt

Updating dependencies
Resolving dependencies... (0.2s)

Package operations: 1 install, 0 updates, 0 removals

  • Installing libzt (1.4.2): Failed

  RuntimeError

  Unable to find installation candidates for libzt (1.4.2)

  at /opt/homebrew/Cellar/poetry/1.1.11/libexec/lib/python3.9/site-packages/poetry/installation/chooser.py:72 in choose_for
       68│ 
       69│             links.append(link)
       70│ 
       71│         if not links:
    →  72│             raise RuntimeError(
       73│                 "Unable to find installation candidates for {}".format(package)
       74│             )
       75│ 
       76│         # Get the best link


Failed to add packages, reverting the pyproject.toml file to its original content.

biodrone avatar Oct 20 '21 09:10 biodrone

Yeah I haven't added apple silicon support and I'm not sure how pypi will handle that but I'll take a look in the coming weeks. Thanks for bringing this to my attention.

joseph-henry avatar Dec 07 '21 05:12 joseph-henry

+1 for Apple Silicon support.

bostonrwalker avatar Dec 08 '21 17:12 bostonrwalker

Still not available via pip on apple silicon. Looks like the last release just barely missed pypi official build targets

https://www.pypy.org/posts/2022/07/m1-support-for-pypy.html

chadrockey avatar Mar 27 '24 13:03 chadrockey