运行程序出现上图所示问题怎么解决,提示Process finished with exit code -1073740791 (0xC0000409)
三生石 发表于2019-07-05 10:58
您好读者!请问有什么错误日志信息么?截图上传一下 方便快速定位错误的位置!
Traceback (most recent call last): File "E:/shixun/untitled.py", line 151, in on_click data = query(get_date, from_station, to_station) File "E:\shixun\query_request.py", line 25, in query from_station =list(stations.keys())[list(stations.values()).index(tmp_list[6])]TypeError: 'list' object is not callableProcess finished with exit code 3
蹦蹦熊_1551103606 发表于2019-07-05 16:58
Traceback (most recent call last): File "E:/shixun/untitled.py", line 151, in on_click data = query(get_date, from_station, to_station) File "E:\shixun\query_request.py", line 25, in query from_station =list(stations.keys())[list(stations.values()).index(tmp_list[6])]TypeError: 'list' object is not callableProcess finished with exit code 3
蹦蹦熊_1551103606 发表于2019-07-05 16:58
Traceback (most recent call last): File "E:/shixun/untitled.py", line 151, in on_click data = query(get_date, from_station, to_station) File "E:\shixun\query_request.py", line 25, in query from_station =list(stations.keys())[list(stations.values()).index(tmp_list[6])]TypeError: 'list' object is not callableProcess finished with exit code 3
您好读者!经过测试源码并没有问题呀!这样我先给您上传一个我刚刚测试的源码,您最好将源码放在桌面上然后使用开发环境打开项目源码直接运行,不要将源码放在多个路径下打开,嵌套多层路径,可能出现导入文件路径不正确或无法找到项目中需要的文件。就像模块路径引入错误一样!