pycharm报错Process finished with exit code 134 (interrupted by signal 6: SIGABRT)
时间: 2023-10-20 18:27:01 浏览: 299
python安装gevent库出现ERROR: Command errored out with exit status 1
5星 · 资源好评率100%
在PyCharm中报错"Process finished with exit code 134 (interrupted by signal 6: SIGABRT)"通常是由于一些系统或环境配置问题引起的。根据引文中的引用内容,有几种可能的解决方法。
首先,一种可能的解决方法是使用iTerm2打开PyCharm。可以通过以下步骤来实现:在终端中输入命令"cd /Applications/PyCharm.app/Contents/MacOS",然后输入"open pycharm"来打开PyCharm。这样可能能够解决报错问题。
其次,如果你使用的是Ubuntu系统,并且在训练TD3算法时遇到了同样的报错,那么可能是由于显卡配置问题导致的。可以尝试安装NVIDIA PRIME,并将系统切换到独立显卡模式。具体步骤如下:
1. 在终端中输入命令"sudo apt install nvidia-prime"安装NVIDIA PRIME。
2. 切换至独立显卡模式,输入命令"sudo prime-select nvidia",然后等待切换完成。
3. 重启系统。
切换到独立显卡模式后,重新启动PyCharm,并尝试进行TD3算法的训练。这样可能能够解决报错问题。
综上所述,如果你在PyCharm中遇到了报错"Process finished with exit code 134 (interrupted by signal 6: SIGABRT)",可以尝试使用iTerm2打开PyCharm或者切换系统至独立显卡模式来解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [解决 Mac Pycharm Process finished with exit code 134 (interrupted by signal 6: SIGABRT) 报错](https://blog.csdn.net/m0_43505377/article/details/103848967)[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_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Process finished with exit code 134 (interrupted by signal 6: SIGABRT)的解决方法--Pycharm2021.3.3](https://blog.csdn.net/akansase/article/details/126736176)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文