相關學習鏈接
pgmpy安裝
pgmpy包要求依賴包:
pip install networkx
pip install numpy
pip install scipy
pip install pandas
pip install pyparsing
pip install wrapt
# torch版本信息。stable穩定版、window、pip、none CUDA
pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
安裝命令:
torch安裝
win10
python3.7
安裝步驟
- 獲取pip下載命令
pytorch官網
pytorch官網——獲取鏈接頁面
pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
- 打開cmd,運行命令
下載過程:下載torch和torchversion
由於出現:
Looking in links: https://download.pytorch.org/whl/torch_stable.html
‘Looking’ 不是內部或外部命令,也不是可運行的程序或批處理文件。
所以再次執行pip install – 命令查看是否成功安裝。
問題
- 下載需要小飛機,不然會報錯
- pgmpy介紹