zerotier / libzt

Encrypted P2P sockets over ZeroTier
https://zerotier.com
Other
177 stars 53 forks source link

Install Fails on M1 Mac #138

Open biodrone opened 2 years ago

biodrone commented 2 years ago

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.
joseph-henry commented 2 years ago

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.

bostonrwalker commented 2 years ago

+1 for Apple Silicon support.

chadrockey commented 6 months ago

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