CodeBlock无编辑器问题解决

对于新手小白来说,在使用CodeBlock做C语言或者C++方面的编写时,CodeBlock会出现如下情况:


Can't  find compiler executable in your configured search path's for GNU GCC Compiler.  

这是因为在GNU GCC编译器的配置搜索路径中找不到编译器可执行文件。

解决方法如下:

选择“Setting”——>“Compiler settings”,选择第一项“Global compiler settings”,然后点击“Reset defaults”


在出现的界面里点击“确定”。


点击“确定”


点击“确定”


点击下图所示“OK”


这时关闭当前窗口,重新再打开软件就解决了。

该错误提示"Can't find Python executable "python", you can set th"表示无法找到Python可执行文件"python"。解决这个问题的方法是设置Python的可执行文件路径。 可以按照以下步骤来设置Python的可执行文件路径: 1. 首先,确认你已经安装了Python,并且知道Python的安装路径。 2. 打开你的操作系统的环境变量设置。 3. 在环境变量中找到"Path"变量,编辑它。 4. 在"Path"变量的值中添加Python的可执行文件路径。例如,如果Python安装在"C:\Python\Python39"目录下,你需要将"C:\Python\Python39"添加到"Path"变量的值中。 5. 保存并关闭环境变量设置。 6. 重新启动你的计算机。 这样,当你再次运行代码时,Codeblocks就能够找到Python可执行文件,并顺利执行代码了。<span class="em">1</span><span class="em">2</span> #### 引用[.reference_title] - *1* [Codeblocks安装时Can't find compiler executable in your configured search path's for GNU GCC Compiler...](https://download.youkuaiyun.com/download/weixin_42202078/15584409)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [ stack Error: Can‘t find Python executable “python“, you can set the PYTHON env variable.](https://blog.youkuaiyun.com/wangshuxuncom/article/details/130385122)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值