在pyqt開發過程,沒有報任何錯,只是提示一行:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
我的情況是有包衝突導致的,然後用conda創建了一個新的環境就好了.難怪大佬們復現(clone)代碼時,喜歡創建一個新的虛擬環境
常用的conda命令
conda create -n pyqt python=3.7 #創建虛擬環境
conda remove -n pyqt #刪除虛擬環境
conda env list #顯示虛擬環境列表
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes # 添加源
conda config --remove channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/'
conda config --show #顯示配置信息