Skip to content

Initial setup on Mac M1 #7

Description

@lamsumchat

after running conda env create -f env.yml on my mac M1 in China it reports such an error:


Channels:
 - pytorch
 - nvidia
 - pyg
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

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

  - pytorch::torchvision
  - pyg::pytorch-sparse
  - pyg::pytorch-scatter
  - pytorch::pytorch-cuda==11.8
  - pytorch::pytorch
  - pyg::pyg
  - cudatoolkit=11.8*
  - datatable

Current channels:

  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/osx-arm64
  - https://conda.anaconda.org/nvidia/osx-arm64
  - https://conda.anaconda.org/pyg/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/osx-arm64
  - https://conda.anaconda.org/pyg
  - https://conda.anaconda.org/pyg
  - https://conda.anaconda.org/pyg
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch

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

    https://anaconda.org

and use the search bar at the top of the page.

I 'm not familiar with torch but I know it may has something to do with cuda. I tried removing two packages regarding cuda but it still reports the same error.
Anybody kindly offer guidance? I'm just trying to adopting it to my course project and the data prepared is small, unnecessary referring to GPU, I guess.

Activity

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