【问题标题】:What is the reason for an unhandled win32 exception in an installer program?安装程序中未处理的 win32 异常的原因是什么?
【发布时间】:2010-09-15 14:47:20
【问题描述】:

我收到以下消息:

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

异常发生在 Python 2.7 的 Numpy 安装程序中---我的机器上有后者。

当我点击“是”以使用选定的调试器时,我收到以下消息:

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

我没有管理员权限。

这是异常的原因,还是有其他原因?

【问题讨论】:

  • 如果无法创建文件夹,那么这对我来说听起来像是没有管理员权限的问题。

标签: python windows visual-studio-2008 winapi numpy


【解决方案1】:

这不是异常的原因。相反,当您尝试调试原始问题时,您遇到了 Visual Studio 问题。 Visual Studio 错误通过以下方式解决:

在以下路径下检查您的注册表:

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

下面应该有一个 AppData 条目。键值应该是这样的:

%USERPROFILE%\AppData\Roaming

如果不是,请将其更改为上述值,您的程序现在应该可以运行了。

至于原来的错误,我们真的没有足够的信息来智能评论。

【讨论】:

    猜你喜欢
    • 2013-04-23
    • 2011-01-29
    • 1970-01-01
    • 2012-04-23
    • 2011-01-30
    • 2011-03-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多