Skip to content

Cannot pip install on Apple Silicon #111

@RishubT

Description

@RishubT

Hi,

I'm running on an Apple M3 Pro processor, and several friends have reproduced the same issue on M2 and M3 (base) machines.

When installing escnn, the installation fails with an error related to building the lie-learn dependency. It appears that lie-learn cannot compile on Apple Silicon with modern Python/NumPy toolchains. I tested e2cnn as a comparison, and it installs and works without issues.

Is there a known workaround or fix for installing escnn on Apple Silicon, or has support effectively ended?

Thanks!

Error:
File "/private/var/folders/s1/j87x21gx2ds2k20lg5nj8r680000gn/T/pip-build-env-1roli979/overlay/lib/python3.13/site-packages/setuptools/installer.py", line 123, in _fetch_build_egg_no_warn
raise DistutilsError(str(e)) from e
distutils.errors.DistutilsError: Command '['/opt/anaconda3/bin/python3.13', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/var/folders/s1/j87x21gx2ds2k20lg5nj8r680000gn/T/tmpfayyvxxq', '--quiet', 'numpy']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed to build 'lie-learn' when getting requirements to build wheel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions