安裝pgmpy,出現torch錯誤,Building wheel for torch (setup.py) ... error

原因:

ou could not do pip install torch because the Windows packages are not hosted on PyPI. Instead, please enter the commands in https://pytorch.org. (github上給的建議,就是說pip install torch不會成功) 

 

解決辦法:

進入Pytorch官網,下載torch,此時下載的torch會很慢,一般在下面網址,下載適合版本的.whl文件。

https://download.pytorch.org/whl/torch_stable.html

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章