pytorch安装换源ubuntu_ubuntu 安装pytorch问题
生活随笔
收集整理的這篇文章主要介紹了
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问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c++读取图片_Pytorch读取,加载
- 下一篇: delphi报列表索引越界怎么处理_Py