我在VS2012中使用python导入时遇到了问题。在使用导入时,我无法使项目编译/运行。如果我没有任何导入,python将运行main ok (并打印"hello world")。这似乎是VS的错误,可能是配置错误,因为当我在VS中禁用异常时,它运行得很好。如果我继续几次,它就会显示:
[WinError 2] The system cannot find the file specified: 'C:\\Users\\Drew Cross\\Documents\\Visual<e
如果我告诉VisualStudio在所有Common Language Runtime Exceptions上中断(这样它将在抛出任何Exception时中断),或者如果抛出了一个未处理的Exceptionex)中查看Exception的详细信息,所以我知道Exception信息必须是accessible...so的,为什么它没有显示在VisualStudio的异常帮助程序中?我正在运行VisualStudio