日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Ubuntu >内容正文

Ubuntu

pytorch安装换源ubuntu_ubuntu 安装pytorch问题

發布時間:2024/9/3 Ubuntu 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 pytorch安装换源ubuntu_ubuntu 安装pytorch问题 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

由于之前pytorch安裝在base環境中,現在弄了個新環境py37env,想在上面安裝pytorch

但是這次安裝出現了一點問題

報錯說

Found conflicts! Looking for incompatible packages.

真是讓人腦殼一緊,對我這種小白來說什么問題都很麻煩。

他不僅報錯說一些包不兼容,還幫我開始看哪些包不兼容,找了半天找出來一大堆不兼容的。

這感覺太酸爽了

按報錯內容在網上找了找,看到yiyinying的回答

ubuntu conda · Issue #226 · pytorch/botorch?github.com@yiyinying, I ran into the same problem on Ubuntu. It seems that installing gpytorch explicitly first solves the issue:
conda create --name botorch_virign
conda install -c gpytorch gpytorch
conda install -c pytorch botorch
Not quite sure what's going on there, the botorch install works fine on OSX. We'll make sure to fix this in the upcoming compatibility release, for now the above workaround should unblock you.

他按這個方法解決了,但是也不知道到底為什么。。。

tm計算機真是個玄學。

我先在另一個環境中試了一下,直接安裝這個gpytorch,他順帶把torch幫我下下來了

conda install -c gpytorch gpytorch

然后我又去我想安裝pytorch的那個環境里試了一下

還算順利!

總結

以上是生活随笔為你收集整理的pytorch安装换源ubuntu_ubuntu 安装pytorch问题的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。