Skip to main content

Posts

Showing posts from September 23, 2018

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

tesserocr PIP ERROR ON LINUX [FIX]

FIX FOR THIS ERROR---  Collecting tesserocr   Using cached https://files.pythonhosted.org/packages/f8/6d/4e81e041f33a4419e59edcb1dbdf3c56e9393f60f5ef531381bd67a1339b/tesserocr-2.3.1.tar.gz Building wheels for collected packages: tesserocr   Running setup.py bdist_wheel for tesserocr ... error   Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-dkMND5/tesserocr/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpLxXWiTpip-wheel- --python-tag cp27:   pkg-config failed to find tesseract/lept libraries: Package tesseract was not found in the pkg-config search path.   Perhaps you should add the directory containing `tesseract.pc'   to the PKG_CONFIG_PATH environment variable   No package 'tesseract' found     Failed to extract tesseract version from executable: [