【Pytorch】OSError: libc10_cuda.so: cannot open shared object file: No such file or directory

摘自

https://githubhot.com/repo/rusty1s/pytorch_geometric/issues/3904https://githubhot.com/repo/rusty1s/pytorch_geometric/issues/3904

It looks like you have installed PyTorch with CUDA support (there exists a cudatoolkit conda package). As such, torch-scatter and torch-sparse are also installed with CUDA support (unlike PyTorch, they currently require that CUDA exists but this will be fixed in an upcoming version). For now, it's best to install the PyTorch CPU version:

conda install pytorch cpuonly -c pytorch
conda install pyg -c pyg -c conda-forge

你可能感兴趣的:(python)