Skip to content

environment.yml does not work on my mac #1136

Description

@NimaSarajpoor

I've executed the command conda env update -f environment.yml in an activated conda env on my macOS, and got the following error:

PackagesNotFoundError: The following packages are not available from current channels:                         
                                                                                                               
  - numba-cuda[version='>=0.24.0']

Apparently numba-cuda is not supported for macOS platform.

Activity

  1. seanlaw commented on May 3, 2026

    @seanlaw
    Contributor

    @NimaSarajpoor Do you recall if it worked before?

    It looks like it was added 4 months ago in this commit and it was added to both the environment.yml and pyproject.toml.

  2. NimaSarajpoor commented on May 3, 2026

    @NimaSarajpoor
    CollaboratorAuthor

    @NimaSarajpoor Do you recall if it worked before?

    I think I tried it a few weeks ago and got the same error but forgot to report It . When I remove that from the yml file, it works.

  3. seanlaw commented on May 4, 2026

    @seanlaw
    Contributor

    I wonder if @gmarkall or @isVoid might know if something has changed?

    I'm currently on an M2 Macbook and can see that pixi installed:

    numba-cuda                        0.14.1        pyhcf101f3_0         391.08 KiB  conda  https://conda.anaconda.org/conda-forge
    

    But numba-cuda is currently at version 0.30.1 so what is being installed is severely behind!

  4. seanlaw commented on May 15, 2026

    @seanlaw
    Contributor

    I removed numba-cuda in c63b042

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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