Open angup143 opened 2 years ago
This seems to be indeed caused by the recent changes in #4338. You would need to install PyG from master for this:
pip install git+https://github.com/pyg-team/pytorch_geometric.git
I am facing this issue on Windows 10 CPU environment, have installed PyTorch geometric using above mentioned link by @rusty1s. PyG version: 2.0.4 torch: 1.10.1+cpu
Installing PyG master should yield version 2.0.5
. Please ensure that you uninstall all other PyG versions first.
I[m also facing the same issue. Win 11 PyG version: 2.0.4 Torch 1.11/ CUDA11.3 installed by conda
Using PyG from master is currently only supported through pip
.
I have install by this
pip install git+https://github.com/pyg-team/pytorch_geometric.git
and the version is torch-geometric-2.0.5
and other package is install by
pip install torch-scatter torch-sparse torch-cluster torch-spline-conv -f https://data.pyg.org/whl/torch-1.11.0+cu113.html
but I still get this
fyx@fyx:~/GNN/GraphGym/run$ bash run_single.sh
Traceback (most recent call last): File "main.py", line 8, in <module> from graphgym.config import cfg, dump_cfg, load_cfg, set_run_dir, set_out_dir ImportError: cannot import name 'set_out_dir' from 'graphgym.config' (/home/fyx/.local/lib/python3.8/site-packages/graphgym/config.py)
It looks like you have https://github.com/snap-stanford/GraphGym installed rather than the version by PyG.
oh I have solved it by remove the graphgym package and run install.sh again,thank you!
Hello, is there any other way to download pyg version 2.5.0? I can't by using this command: pip install git+https://github.com/pyg-team/pytorch_geometric.git
This seems to be indeed caused by the recent changes in #4338. You would need to install PyG from master for this:
pip install git+https://github.com/pyg-team/pytorch_geometric.git
Hello, is there any other way to download pyg version 2.5.0? I can't by using this command: pip install git+https://github.com/pyg-team/pytorch_geometric.git
You can install from our nightly builds, see https://github.com/pyg-team/pytorch_geometric#nightly-and-master
🐛 Describe the bug
When trying to run the basic graphgym example with "bash run_single.sh ", I get the following error:
I noticed that this might be caused due to a recent change (https://github.com/pyg-team/pytorch_geometric/pull/4338) so I tried updating my pytorch geometric version using
pip install torch-geometric --upgrade
but that does not fix the issue.Environment
conda
,pip
, source): piptorch-scatter
):