问题描述:
使用Geany进行Python编码,执行时报错,如图:
解决方法:
在生成中点击设置生成命令;complie和execute中修改python.exe路径,末尾加上"%f",“%f"签名要空一格,注意是否用的”"将路径括起来,不要用“”;
complie:"D:\Software\Python\Python\python.exe" -m py_compile "%f"
execute:D:\Software\Python\Python\python.exe "%f"
D:\Software\Python\Python\python.exe是自己的python安装路径