Skip to content

Environment not working on platform osx-arm64 #252

@darioflute

Description

@darioflute

What is the problem?

Currently, the instruction to create the AstronomicalData environment does not work with the platform osx-arm64 since there is no compiled version of "gala" for this distribution.
The most recent version on conda-forge for mac-osx is the: osx-64 1.9.1

I found two possible ways out:
a) Create the environment by forcing the osx-64 platform files to be installed:
CONDA_SUBDIR=osx-64 conda env create -f environment.yml
b) Change the environment file by adding at the end instead of the line with gala, the two lines:

  • pip
  • pip:
    • gala

In order to use pip to install the latest version of gala. Note that in this case a more recent version is available (1.10.1).
In this second case, at least if running the latest version of the operative system, one has to first accept the license agreement of Xcode (which can be done launching the Xcode.app).

Location of problem (optional)

https://datacarpentry.github.io/astronomy-python/ Summary and Setup

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