diff --git a/pero_ocr/utils.py b/pero_ocr/utils.py index c700f99..4c6e732 100644 --- a/pero_ocr/utils.py +++ b/pero_ocr/utils.py @@ -3,11 +3,8 @@ import subprocess try: - subprocess.check_output( - '{} -c "import numba"'.format(sys.executable), shell=True - ) - print('numba available, importing jit') from numba import jit + print('numba available, importing jit') except Exception: print('cannot import numba, creating dummy jit definition')