打包python爲可執行文件時報錯R6034解決方案

R6034 指的是:」An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information「.python

 
網上的解決辦法不少,可是比較亂,也沒有介紹是在什麼應用中發生的R6034問題。
今天給你們介紹一個,在運行Python時候遇到的R6034的解決辦法。
 
不喜歡看英文的朋友能夠看下文:
2. 打開你的應用,會顯示R6034的問題
3. 打開Process Explorer。在主菜單」View「中選擇」Lower Pane View「而且選擇」DLLS「
4. 在你運行的程序中找」msvcr??.dll「。關鍵就是這個文件。若是它的位置是:"winsxs" 那就是對的,若是不是,找到這個文件的路徑,刪除它。
相關文章
相關標籤/搜索