什么是 Killed:9 以及如何在 macOS 终端中修复? [英] What is Killed:9 and how to fix in macOS Terminal?

查看:100
本文介绍了什么是 Killed:9 以及如何在 macOS 终端中修复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个用于机器学习项目的简单 Python 代码.我有一个相对较大的自发演讲数据库.我开始训练我的语音模型.由于它是一个巨大的数据库,我让它在一夜之间工作.早上醒来看到一个神秘的

I have a simple Python code for a machine learning project. I have a relatively big database of spontaneous speech. I started to train my speech model. Since it's a huge database I let it work overnight. In the morning I woke up and saw a mysterious

被杀:9

在我的终端中行.没有其他的.没有其他错误消息或可以使用的内容.代码运行良好约 6 小时,占整个过程的 75%,所以我真的不明白出了什么问题.

line in my Terminal. Nothing else. There is no other error message or something to work with. The code run well for about 6 hours which is 75% of the whole process so I really don't understand whats went wrong.

什么是 Killed:9 以及如何修复它?失去数小时的计算时间真是令人沮丧...

What is Killed:9 and how to fix it? It's very frustrating to lose hours of computing time...

如果有问题,我正在使用 macOS Mojave 测试版.提前致谢!

I'm on macOS Mojave beta if it's matter. Thank you in advance!

推荐答案

当我将 Mac OS 版本从 Catalina 更新到 Big Sur 时,我遇到了这个问题.我试图运行一个二进制文件并面临 Killed: 9 问题.

I faced this issue when I updated my Mac OS version from Catalina to Big Sur. I was trying to run a binary and facing the Killed: 9 issue.

我可以按照以下步骤解决此问题(我参考了 此 Apple StackExchange 帖子 用于这些步骤):-

I was able to resolve this issue by following the steps below (I referred to this Apple StackExchange post for these steps) :-

  1. 通过 Homebrew 下载 UPX - brew install upx
  2. 然后解压二进制文件——upx -d/path/to/binary/file

这篇关于什么是 Killed:9 以及如何在 macOS 终端中修复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆