原创 Pyinstaller 打包python

pyinstaller打包報錯: RecursionError: maximum recursion depth exceeded 今天給以前寫的python腳本用pyinstaller打包的時候,居然報錯了: ...   File "

原创 軟件源sources更新出錯,能上網,能ping通&&ROS Melodic安裝&&KinetcV1

ubuntu顯示的是17.04 但是竟然用17.10的源就好啦,去年有的問題,一年沒怎麼玩這個機子,突發奇想試試,就好了。。。。。。 首先錯誤如下: 忽略:76 http://mirrors.aliyun.com/ubuntu zest

原创 pip conda源更改 && anaconda修改Python版本

PIP 換源 windows 用戶目錄創建pip文件夾保存上訴代碼爲pip.ini [global] index-url = http://mirrors.aliyun.com/pypi/simple/ [install] tru

原创 安裝tx2 arm板子後ubuntu無法update處理方法

tx2導致update無法更新 需要如下操作 dpkg --print-foreign-architectures sudo apt-get remove .*:arm64 sudo dpkg --remove-architecture

原创 國內外各大網站鏡像源

開源網站鏡像: 搜狐開源鏡像站:http://mirrors.sohu.com/ 網易開源鏡像站:http://mirrors.163.com/ 開源中國:http://mirrors.oschina.net/ 首都在線科技股份有限

原创 經典強化學習算法Atari安裝

pip install gym[atari]   Atari Game(pong、Boxing、Mspacman) 點贊 收藏 分享 文章舉報 qiqzhang 發佈了49 篇

原创 openai gym env.P, AttributeError 'TimeLimit' object has no attribute 'P'

I'm currently reading Hands-On Reinforcement Learning with Python by Sudharsan Ravichandiran and on one of the first ex

原创 its rank is undefined, but the layer requires a defined rank.

layer_name + ' is incompatible with the layer: ' ValueError: Input 0 of layer conv2d is incompatible with the layer: it

原创 pandas操作csv

1.讀寫 information = open(current_image_dir+"/information.csv",'w')#讀寫文件 information.write("image,"+"SN,"+"axelindex"+"\

原创 ubuntu系統自帶的火狐(firefox)如何安裝Adobe Flash

  當你剛裝完系統,發現打開某些網站時,提示你“需要安裝flash”,然後你點擊確定,過了一會,提示你安裝失敗。 我也是遇到這種情況。我第一個反應是,我先不用firefox,我安裝chrome。 可是當你用firefox打開網站時,他還是

原创 vscode install

vscode install if have some problem try to use --help sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-

原创 ubuntu第一要素

系統的東西千萬別刪除!!!!!!!! 系統自帶的python刪除會導致無法開機

原创 opencv2.4.11

nvcc fatal : Unsupported gpu architecture 'compute_11' CMake Error at cuda_compile_generated_matrix_operations.cu.o.cma

原创 Linux 共享文件夾

Linux SSH遠程文件/文件夾傳輸命令scp 相信各位VPSer在使用VPS時會常常在不同VPS間互相備份數據或者轉移數據,大部分情況下VPS上都已經安裝了Nginx或者類似的web server,直接將要傳輸的文件放到web ser

原创 ubuntu將terminal信息輸出到txt 並顯示在屏幕上

輸入一條命令的同時,利用tee命令將結果輸出到文件。 例如ifconfig | tee ifconfig.log