打包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“.

 
网上的解决办法很多,但是比较乱,也没有介绍是在什么应用中发生的R6034问题。
今天给大家介绍一个,在运行Python时候遇到的R6034的解决办法。
 
不喜欢看英文的朋友可以看下文:
2. 打开你的应用,会显示R6034的问题
3. 打开Process Explorer。在主菜单”View“中选择”Lower Pane View“并且选择”DLLS“
4. 在你运行的程序中找”msvcr??.dll“。关键就是这个文件。如果它的位置是:"winsxs" 那就是对的,如果不是,找到这个文件的路径,删除它。
 
原文地址:https://www.cnblogs.com/wangjunyan/p/6161126.html