Skip to content

No matching distribution found for pyg_lib in Python 3.11 + PyTorch 2.2.0 environment on macOS #320

@aleaverfay

Description

@aleaverfay

😵 Describe the installation problem

can't find any available versions of pyg_lib if I use python 3.11 + torch2.2.0 (cpu):

I can create an empty conda (mamba) environment using this env.yaml:

name: empty311
channels:
  - conda-forge
dependencies:
  - python=3.11
  - pip

and then when I mamba activate empty311 and try to pip install with

(empty311) $ pip install --find-links=http://data.pyg.org/whl/torch-2.2.0+cpu.html  --trusted-host=data.pyg.org -r min_requirements.in

where min_requirements.in is merely:

torch==2.2.0
pyg_lib

Then I get this error:

% pip install --find-links=http://data.pyg.org/whl/torch-2.2.0+cpu.html  --trusted-host=data.pyg.org -r min_requirements.in
Looking in links: http://data.pyg.org/whl/torch-2.2.0+cpu.html
Collecting torch==2.2.0 (from -r min_requirements.in (line 1))
  Using cached torch-2.2.0-cp311-none-macosx_10_9_x86_64.whl.metadata (25 kB)
ERROR: Could not find a version that satisfies the requirement pyg_lib (from versions: none)
ERROR: No matching distribution found for pyg_lib

If I change to either use python 3.10 or torch 2.1.0, then it works fine.

I am on Mac OS 14.2.1 trying to install any version of pyg-lib of which 0.4.0 is the only option.

Environment

  • pyg-lib version: any, but specifically 0.4.0
  • PyTorch version: 2.2.0
  • OS: Mac OSX 14.2.1
  • Python version: 3.11
  • CUDA/cuDNN version: N/A
  • How you installed PyTorch and pyg-lib (conda, pip, source): pip
  • Any other relevant information:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions