機器學習環境搭建問題及解決

2021-09-23 05:49:57 字數 758 閱讀 5266

安裝jupyter之後使用jupyter notebook啟動產生編碼錯誤

## ubuntu 16.04 

## python 2.7

## anaconda 2

## 錯誤資訊:

unicodedecodeerror: 'ascii' codec can't decode byte 0xe5 in position 4: ordinal not in range(128)

解決方案:

網上說原因是python2.7中使用ascii編碼不支援utf8,但是在錯誤檔案中加入decode轉換成utf8能成功執行jupyter notebook 但是初始化依舊錯誤

最後通過改變bash語言環境解決,在bashrc中加入語言環境**成功解決

# step1 :sudo vim ~/.bashrc

# step2 :goto end add next two lines

export lang=en_us:utf-8

export language=en_us:en

ps: 還有一種做法是直接改變系統語言編碼,但是會導致terminal不好使(中文系統全是坑系列),有條件還是裝原裝英文系統來的好啊

sudo dpkg -i cuda-..

...deb

cd ~

sudo

apt-get

install cuda

vsphere環境搭建問題及解決 client

1.xp中安裝 client 連線不上 出現該問題的原因是新版本vsphere cient中增強了加密強度,而windows xp和windows server 2003未能達到所需加密強度,因為 esxi 停用了較不安全的 cipher suite 而 xp 2003 正是使用了不夠安全的 cip...

sweetest環境搭建及問題解決

簡單快速,輕鬆上手 無需編碼能力 在 excel 中以文字編寫測試用例 維護成本低 支援千 萬級別的用例規模 擁抱變化,支援敏捷 注意 python安裝3.7.2版本,其他版本可能會報錯 執行demo 報錯1 excel xlsx file not supported 解決方案 pip instal...

搭建gerrit環境遇到的問題及解決

1.問題 502 bad gateway 原因 gerrit沒有啟動.可用命令檢視 ps ef grep gerrit 解決 review bin gerrit.sh restart 2.問題 500 internal server error 原因 nginx程序使用者 www data 無權訪問...