xcode-select --install
In order to get OCR features working you need to install tesseract
.
macOS
brew install tesseract
Note: If you are unable to install 'atomac' on Mojave and get the error below:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:34:10: fatal error: 'CarbonSound/CarbonSound.h' file not found
#include <CarbonSound/CarbonSound.h>
use this command:
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
Linux
Please refer to official docs.
Windows:
Download installer and install it.
Notes:
Installation of python wrapper around tesseract
is handled in requirements.txt
.
OpenCV has some known installation issues on Windows when Python 3.7 is used.
Please read those articles:
- import-cv2-doesnt-give-error-on-command-prompt-but-error-on-idle-on-windows-10ó
- opencv-for-python-3-x-under-windows
- pythonlibs
Find by text on iOS Simulator is based on macOS Accessibility. In order to get tests working you should allow program that execute tests to be able to control your computer.
System Preferences -> Security & Privacy -> Privacy -> Accessibility ->
- Add Terminal to list of apps allowed to control your computer (to be able to run tests via Terminal)
- Add PyCharm to list of apps allowed to control your computer (to be able to run tests via IDE)
Note that if your Jenkins instance is started via some other executable it should be also added in the list.