# AWS 問題 ###### tags: `AWS` ## 錯誤重現 1. `python` 版本 `3.9.4` & `cuda` 版本 `11.4` 2. 安裝 `pytorch`: 版本 `pytorch 1.11.0 + CUDA 11.3` ``` pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113 ``` 3. 安裝 `pytorch geometric` ``` pip3 install torch-scatter torch-sparse torch-cluster torch-spline-conv torch-geometric -f https://data.pyg.org/whl/torch-1.11.0+cu113.html ``` 4. 導入模塊: 抱錯 ```python= import os import time import numpy as np import torch import torch.nn as nn import dgl import dgl.function as fn from torch_geometric.data import HeteroData import nars_trainer from nars_utils import read_relation_subsets ``` ![](https://i.imgur.com/lucuH2s.png) ![](https://i.imgur.com/EgYVjmc.png) ![](https://i.imgur.com/UO5ZJKw.png) 5. 總結: 問題似乎出在 `GLIBC` 版本不是 `2.27`,經檢查當前版本為 `2.26`,不過嘗試後,不太會安裝 QQ ![](https://i.imgur.com/ThAcV3M.png) ## 參考資料 1. [private key](https://drive.google.com/drive/folders/1YFZndsDHNItyPPWxYrDfVMJDGWzs1oc5)