Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the pyg library still not working on the M2 chip entropy of a mac? #9726

Open
dreamHAOHAO opened this issue Oct 23, 2024 · 2 comments
Open

Comments

@dreamHAOHAO
Copy link

😵 Describe the installation problem

I've tried almost everything on the market about installing pyg libraries for mac but until now I've not been able to follow it well, I'd like to ask the official whether pyg is currently not adapted well to the mac M2 chip or if there is another way to do it. I would like to ask if there is a complete tutorial on how to install the library for mac users, including how to create virtual environments, torch environments, and other configurations, and I'd really like to hear from you, as your reply is very important to my research.

packages in environment at /Users/suaiyuan/opt/anaconda3/envs/M2:

Name Version Build Channel

aiohappyeyeballs 2.4.3 pypi_0 pypi
aiohttp 3.10.10 pypi_0 pypi
aiosignal 1.3.1 pypi_0 pypi
appnope 0.1.4 pyhd8ed1ab_0 conda-forge
asttokens 2.4.1 pyhd8ed1ab_0 conda-forge
async-timeout 4.0.3 pypi_0 pypi
attrs 24.2.0 pypi_0 pypi
backcall 0.2.0 pyh9f0ad1d_0 conda-forge
ca-certificates 2024.8.30 hf0a4a13_0 conda-forge
cctools_osx-arm64 949.0.1 h332cad3_25
certifi 2024.8.30 pypi_0 pypi
clang 14.0.6 hca03da5_1
clang-14 14.0.6 default_h1b80db6_1
clang_osx-arm64 14.0.6 h9ff6fda_0
clangxx 14.0.6 default_h1b80db6_1
clangxx_osx-arm64 14.0.6 h72866fe_0
comm 0.2.2 pyhd8ed1ab_0 conda-forge
compiler-rt 14.0.6 h4ccfd99_0
compiler-rt_osx-arm64 14.0.6 h4fb70ea_0
debugpy 1.6.7 py39h313beb8_0
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
entrypoints 0.4 pyhd8ed1ab_0 conda-forge
executing 2.1.0 pyhd8ed1ab_0 conda-forge
filelock 3.16.1 pypi_0 pypi
frozenlist 1.5.0 pypi_0 pypi
fsspec 2024.10.0 pypi_0 pypi
gfortran_impl_osx-arm64 11.3.0 h1977daa_28
gfortran_osx-arm64 11.3.0 hf112342_0
gmp 6.2.1 hc377ac9_3
ipykernel 6.29.5 pyh57ce528_0 conda-forge
ipython 8.12.0 pyhd1c38e8_0 conda-forge
isl 0.22.1 hc377ac9_3
jedi 0.19.1 pyhd8ed1ab_0 conda-forge
jinja2 3.1.4 pypi_0 pypi
joblib 1.4.2 pypi_0 pypi
jupyter_client 7.3.4 pyhd8ed1ab_0 conda-forge
jupyter_core 5.7.2 pyh31011fe_1 conda-forge
ld64_osx-arm64 530 h001ce53_25
ldid 2.1.5 h20b2a84_3
libclang-cpp14 14.0.6 default_h1b80db6_1
libcxx 14.0.6 h848a8c0_0
libffi 3.4.4 hca03da5_1
libgfortran 5.0.0 11_3_0_hca03da5_28
libgfortran-devel_osx-arm64 11.3.0 h009349e_28
libgfortran5 11.3.0 h009349e_28
libiconv 1.16 h80987f9_3
libllvm14 14.0.6 h19fdd8a_4
libsodium 1.0.18 h27ca646_1 conda-forge
llvm-openmp 14.0.6 hc6e5704_0
llvm-tools 14.0.6 h7ec7a93_4
lz4-c 1.9.4 h313beb8_1
markupsafe 3.0.2 pypi_0 pypi
matplotlib-inline 0.1.7 pyhd8ed1ab_0 conda-forge
mpc 1.1.0 h8c48613_1
mpfr 4.0.2 h695f6f0_1
mpmath 1.3.0 pypi_0 pypi
multidict 6.1.0 pypi_0 pypi
ncurses 6.4 h313beb8_0
nest-asyncio 1.6.0 pyhd8ed1ab_0 conda-forge
networkx 3.2.1 pypi_0 pypi
numpy 2.0.2 pypi_0 pypi
openssl 3.3.2 h8359307_0 conda-forge
packaging 24.1 pyhd8ed1ab_0 conda-forge
parso 0.8.4 pyhd8ed1ab_0 conda-forge
pexpect 4.9.0 pyhd8ed1ab_0 conda-forge
pickleshare 0.7.5 py_1003 conda-forge
pillow 11.0.0 pypi_0 pypi
pip 24.2 py39hca03da5_0
platformdirs 4.3.6 pyhd8ed1ab_0 conda-forge
prompt-toolkit 3.0.48 pyha770c72_0 conda-forge
prompt_toolkit 3.0.48 hd8ed1ab_0 conda-forge
propcache 0.2.0 pypi_0 pypi
psutil 5.9.0 py39h1a28f6b_0
ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge
pure_eval 0.2.3 pyhd8ed1ab_0 conda-forge
pyg-lib 0.4.0.dev20241023+pt21 pypi_0 pypi
pygments 2.18.0 pyhd8ed1ab_0 conda-forge
pyparsing 3.2.0 pypi_0 pypi
python 3.9.20 hb885b13_1
python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge
python_abi 3.9 2_cp39 conda-forge
pyzmq 25.1.2 py39h313beb8_0
readline 8.2 h1a28f6b_0
scikit-learn 1.5.2 pypi_0 pypi
scipy 1.13.1 pypi_0 pypi
setuptools 75.1.0 py39hca03da5_0
six 1.16.0 pyh6c4a22f_0 conda-forge
sqlite 3.45.3 h80987f9_0
stack_data 0.6.2 pyhd8ed1ab_0 conda-forge
sympy 1.13.3 pypi_0 pypi
tapi 1100.0.11 h8754e6a_1
threadpoolctl 3.5.0 pypi_0 pypi
tk 8.6.14 h6ba3021_0
torch 2.1.0 pypi_0 pypi
torch-cluster 1.6.3 pypi_0 pypi
torch-geometric 2.5.1 pypi_0 pypi
torch-scatter 2.1.2 pypi_0 pypi
torch-sparse 0.6.18 pypi_0 pypi
torch-spline-conv 1.2.2 pypi_0 pypi
torchaudio 2.1.0 pypi_0 pypi
torchvision 0.16.0 pypi_0 pypi
tornado 6.1 py39h5161555_1 conda-forge
tqdm 4.66.5 pypi_0 pypi
traitlets 5.14.3 pyhd8ed1ab_0 conda-forge
typing_extensions 4.12.2 pyha770c72_0 conda-forge
tzdata 2024b h04d1e81_0
urllib3 1.26.20 pypi_0 pypi
wcwidth 0.2.13 pyhd8ed1ab_0 conda-forge
wheel 0.44.0 py39hca03da5_0
xz 5.4.6 h80987f9_1
yarl 1.16.0 pypi_0 pypi
zeromq 4.3.5 h313beb8_0
zlib 1.2.13 h18a0788_1
zstd 1.5.6 hfb09047_0

Note: you may need to restart the kernel to use updated packages.

image Known to report an error as shown image

Environment

  • PyG version:2.5.1
  • PyTorch version: 2.1.0
  • OS:macos
  • Python version:3.9.22
  • CUDA/cuDNN version:no
  • How you installed PyTorch and PyG (conda, pip, source): I use pip
  • Any other relevant information (e.g., version of torch-scatter):
    torch 2.1.0 pypi_0 pypi
    torch-cluster 1.6.3 pypi_0 pypi
    torch-geometric 2.5.1 pypi_0 pypi
    torch-scatter 2.1.2 pypi_0 pypi
    torch-sparse 0.6.18 pypi_0 pypi
    torch-spline-conv 1.2.2 pypi_0 pypi
    torchaudio 2.1.0 pypi_0 pypi
    torchvision 0.16.0 pypi_0 pypi
@dreamHAOHAO
Copy link
Author

I also tried using pip install pyg-lib -f https://data.pyg.org/whl/nightly/torch-2.1.0+cpu.html but it didn't do anything!

@dreamHAOHAO
Copy link
Author

I'm hoping for a full official tutorial on how to fix the problem of mac M-chip users not being able to install the pyg libraries Thanks!

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

No branches or pull requests

1 participant