Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyLandStats does not install on M1 MacBook using Anaconda #20

Open
billyhales opened this issue Jul 10, 2022 · 0 comments
Open

PyLandStats does not install on M1 MacBook using Anaconda #20

billyhales opened this issue Jul 10, 2022 · 0 comments

Comments

@billyhales
Copy link

  • PyLandStats version: 2.4.2
  • Python version: 3.10.5
  • Operating System: MacOS 12.4 Monterey (Apple Silicon M1)

Description

Describe what you were trying to get done.
I was attempting to install pylandstats, but could not via conda.

Tell us what happened, what went wrong, and what you expected to happen.
It failed to install with fixed solve and flexible solve. It seems to not be listed in the architecture osx-arm64 and noarch channels (error #1).

What I Did

The only way I could get it to installl with via pip. However, it would give a message indicating that landscape.py failed to compile for transonic-pythian (error #2).

Paste the command(s) you ran and the output.
and use the search bar at the top of the page.

<!--Error #1-->
(model_studies) billyhales@ ~ % conda install -c conda-forge pylandstats
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - pylandstats

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

<!--Error #2-->
>>> import pylandstats
Module /Users/billyhales/miniforge3/envs/model_studies/lib/python3.10/site-packages/pylandstats/landscape.py has not been compiled for Transonic-Pythran

If there was a crash, please include the traceback here.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant