pyg-lib
pyg-lib copied to clipboard
`No matching distribution found for pyg_lib` in Python 3.11 + PyTorch 2.2.0 environment on macOS
😵 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:
Getting the exact same issue. Also in MacOS and python 3.11
If I look at the torch.2.1.0 directory I see:
...
[pyg_lib-0.3.0+pt21-cp311-cp311-macosx_11_0_universal2.whl]
...
[pyg_lib-0.3.1+pt21-cp311-cp311-macosx_11_0_universal2.whl]
...
listed as options, but not for pyg_lib 0.4.0. The torch 2.2.0 directory doesn't have either pyg_lib 0.3.0 or pyg_lib 0.3.1 and continues to not have a cp311 version for 0.4.0.
We had some problems building pyg-lib
for Python version 3.10. This issue should be resolved with PyTorch 2.3 though.
I just came here to say that I had to use pyg-lib for a Uni course, and it was horrendous to properly install it. Please do something about it.
Can you clarify on your issue?