简体   繁体   English

安装程序中出现未处理的win32异常的原因是什么?

[英]What is the reason for an unhandled win32 exception in an installer program?

I got the following message: 我收到以下消息:

An unhandled win32 exception occurred in numpy-1.5.0-sse3.exe [3324].

The exception occurred in the Numpy installer for Python 2.7---I have the latter on the machine. 例外发生在适用于python 2.7的Numpy安装程序中-我在计算机上安装了后者。

When I clicked "Yes" for using the selected debugger, I got the following message: 当我单击“是”以使用所选的调试器时,收到以下消息:

The Application Data folder for Visual Studio could not be created.

I don't have admin privileges. 我没有管理员权限。

Is this the reason for the exception, or is there some other reason? 这是例外的原因,还是还有其他原因?

This is not the reason for the exception. 这不是例外的原因。 Instead, when you tried to debug the original problem, you encountered a problem with Visual Studio. 而是,当您尝试调试原始问题时,遇到了Visual Studio问题。 The Visual Studio error is resolved in the following manner: 通过以下方式解决了Visual Studio错误:

Check your registry under the following path: 在以下路径下检查注册表:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

Under there should be an entry for AppData. 在其下应有一个AppData条目。 The key value should be like so: 关键值应如下所示:

%USERPROFILE%\AppData\Roaming

If it isn't, change it to the above value and your program should now work. 如果不是,请将其更改为上面的值,您的程序现在应该可以运行了。

As for the original error, we really don't have enough information to comment intelligently. 至于原始错误,我们确实没有足够的信息来进行明智地评论。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM