Skip to main content

pyobjc-core pip install error python setup.py egg_info" failed with error code 1 in /tmp/pip-build-io5g0t31/pyobjc-core/ [FIX]

ERROR---


 sudo pip3 install pyobjc-core 
Collecting pyobjc-core
  Downloading https://files.pythonhosted.org/packages/7d/0f/2886aab903aa3971674b68d3fc27cdb292ea07fac2118da0463af113274a/pyobjc-core-5.0.tar.gz (790kB)
    100% |████████████████████████████████| 798kB 86kB/s
    Complete output from command python setup.py egg_info:
    running egg_info
    error: PyObjC requires macOS to build
   
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-io5g0t31/pyobjc-core/

FIX-----

On Linux, this is:
pip3 install python3-xlib

sudo apt-get install scrot

sudo apt-get install python3-tk

sudo apt-get install python3-dev

pip3 install pyautogui