解決Ubuntu安裝CUDF中一系列問題

2021-10-07 16:26:06 字數 412 閱讀 5029

在使用gpu對pandas加速的情況下需要使用cudf包,在安裝和使用cudf過程中遇到了以下的問題

1、conda源中沒有cudf安裝包:

2、按照cudf git上文件給出安裝方案安裝後出現問題:

cudf官方安裝文件上是直接:conda install numba

這樣導致的問題就是在 import cudf時會出現 can not import six from numba

問題原因就在於由於numba更新,numba 0.50.0版本是不支援 from numba import six

所以需要手動設定numba安裝版本為0.48.0

下圖為版本依賴:

解決在ubuntu系統中安裝Chrome失敗的問題

檔名,例如 google chrome stable current i386.deb 2.在命令列下安裝 直接用軟體中心開啟將會有可能因為依賴關係不完整導致失敗,在命令列下進入包含安裝包.deb檔案的目錄,然後 sudo dpkg i google chrome stable current i3...

Ubuntu中安裝XAMPP出錯的解決方法

在windows中使用xampp是一路綠燈,而在ubuntu linux中則是一路紅燈,錯誤多多。這也說明linux壓根不是給菜鳥玩的。1 如果直接啟動lampp,唯獨mysql不會啟動。解決方法 chown r nobody.root opt lampp var mysql 問題解決,mysql啟...

Ubuntu中安裝python3解決ssl問題

因openssl 1.0.1存在安全問題,python3自3.7版本後要求依賴openssl 1.0.2以上或libressl 錯誤提示如下 python requires an openssl 1.0.2 or 1.1 compatible libssl with x509 verify p py...