1

Whenever I try to install anything through the visual studio code terminal, I am unable to. I am using MacOS. I keep getting the error message Killed: 9 whenever I try to install anything.

pip3 install pyautogui 
Killed: 9
Freddy Mcloughlan
  • 4,129
  • 1
  • 13
  • 29
tj_code
  • 21
  • 2

1 Answers1

0

I looked it up and found a couple things that might fix your problem:

  1. Close the terminal window and open a new one.

  2. Try the same command, but use sudo.

  3. Try this command: brew reinstall pcre2 gettext

  4. Download UPX using brew install UPX, then decompress the binary with upx -d /path/to/App.app/MacOS/App (This one seemed to help multiple people with the same problem.)

  5. There might be another process causing the error. Kill that process, close the terminal and start a new one, and try again.

Links:

How to fix "Killed: 9" error in mac os?

What is Killed:9 and how to fix in macOS Terminal?