windows下anaconda 安裝報錯, errno9,怎麼解決?

時間 2021-06-06 00:43:24

1樓:toby

按照@gleefeng 搬運的方案成功解決了問題。這個目錄建立失敗的原因是win 下的編碼問題。和python解決這個問題一樣,在anaconda目錄的....

/lib/site-package下放了個sitecustomize.py

import sys

sys.setdefaultencoding('gbk')聽說anaconda官方已經知道這個問題了,做好的下個版本也修復了這個問題,只不過還沒放出來

2樓:劉明

解決的了,問題是需要進行乙個編碼轉換:

如果不成功,裡面的內容可以換一下。

修改這裡之後再進行以下幾步操作,最後就成功了

3樓:Alex Mercer

如果你們試了以上方法都沒有正常解決問題的話,建議公升級電腦系統(win 10>win 10 pro),然後將賬戶名字改為英文名。

4樓:

我也遇到了同樣的問題,安裝好了之後conda命令也不可用。

用pip更新了一下conda,上述命令就可以用了。

每次裝Anaconda的時候都會遇到同樣的問題,也是醉了。

5樓:wgang GAO

以下內容為引用 @gleefeng貼出的原位址內容,可以解決(如下截圖)

「First, open a DOS prompt and admin rights. Then, go to your Anaconda2\Scripts folder. Then, type in:

conda update conda

and allow all updates. One of the updates should be menuinst.

Then, change to the Anaconda2\Lib directory, and type in the following command:

..\python _nsis.py mkmenus

Wait for this to complete, then check your Start menu for the new shortcuts.「

6樓:gleefeng

不用謝!請叫我搬運工。

F。irst, open a DOS prompt and admin rights. Then, go to your Anaconda2\Scripts folder.

Then, type in:

conda update conda

and allow all updates. One of the updates should be menuinst.

Then, change to the Anaconda2\Lib directory, and type in the following command:

..\python _nsis.py mkmenus

Wait for this to complete, then check your Start menu for the new shortcuts.

Anaconda Python installation error

Windows 下用 Git,Mercurial,Bazaar 哪個分布式 VCS 管理 SVN Repo 最好?

輕揚 的這個回答完全是答非所問!題主問的是 3 種常見的分布式版本控制系統對於管理 SVN 倉庫支援怎樣,不是問誰好誰差誰流行。吐槽完畢,開始答題。其實上面 3 個我只對 Git 較熟悉,當然談不上精通 Mercurial Hg,python 寫的 嘗試過,放棄了,發現入門 Git 之後,有些不理解...

Windows下TensorBoard的使用

Wxz seeking 瀉藥。因為我本身沒有考研的意向,也沒有過多的了解考研的各項事宜。所以在是否能夠跨專業考研這個問題上,我木有辦法給出答案。至於在專業選擇和學習上,我不清楚你所選擇的護理專業是否有學前相關的方向o o?還是說是傳統的護理專業?如果是傳統的護理專業的話,又是在沒有任何教育學 營養學...

Windows下的tensorflow模型如何量化?

jojo 跟Windows Linux無關,你去找量化的教程,官網也有。tf有兩種量化方式,一種加入偽量化節點,一種post training量化。 上善 這跟環境有什麼關係?import tensorflow as tf from tensorflow.tools.graph transforms...