相关学习链接
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介绍