Trying to install EasyOCR on nano

Hi

I was hoping someone could help me step through this issue slowly to get a resolution.

The instal process is shown below - any help appreciated.

Python version is 3.6.9


$ mkvirtualenv easyocr -p python3

Then change to virtual environment easyocr

$ pip install opencv-python
Collecting opencv-python
Downloading opencv-python-4.4.0.44.tar.gz (88.9 MB)
|████████████████████████████████| 88.9 MB 7.0 kB/s
Installing build dependencies … error
ERROR: Command errored out with exit status 1:
command: /home/user1/.virtualenvs/easyocr/bin/python /home/user1/.virtualenvs/easyocr/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-4rfe2auf/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple – setuptools wheel scikit-build cmake pip ‘numpy==1.11.3; python_version==’"’"‘3.5’"’"’’ ‘numpy==1.13.3; python_version==’"’"‘3.6’"’"’’ ‘numpy==1.14.5; python_version==’"’"‘3.7’"’"’’ ‘numpy==1.17.3; python_version>=’"’"‘3.8’"’"’’
cwd: None
Complete output (655 lines):
Ignoring numpy: markers ‘python_version == “3.5”’ don’t match your environment
Ignoring numpy: markers ‘python_version == “3.7”’ don’t match your environment
Ignoring numpy: markers ‘python_version >= “3.8”’ don’t match your environment
Collecting setuptools
Downloading setuptools-50.3.2-py3-none-any.whl (785 kB)
Collecting wheel
Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting scikit-build
Downloading scikit_build-0.11.1-py2.py3-none-any.whl (72 kB)
Collecting cmake
Downloading cmake-3.18.2.post1-py3-none-manylinux2014_aarch64.whl (15.2 MB)
Collecting pip
Downloading pip-20.2.4-py2.py3-none-any.whl (1.5 MB)
Collecting numpy==1.13.3
Downloading numpy-1.13.3.zip (5.0 MB)
Collecting packaging
Downloading packaging-20.4-py2.py3-none-any.whl (37 kB)
Collecting distro
Downloading distro-1.5.0-py2.py3-none-any.whl (18 kB)
Collecting pyparsing>=2.0.2
Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting six
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: /home/user1/.virtualenvs/easyocr/bin/python -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-mcw3c6ky/numpy/setup.py’"’"’; file=’"’"’/tmp/pip-install-mcw3c6ky/numpy/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/pip-wheel-nxxbh00y
cwd: /tmp/pip-install-mcw3c6ky/numpy/
Complete output (301 lines):
Running from numpy source directory.
blas_opt_info:
blas_mkl_info:
libraries mkl_rt not found in [’/home/user1/.virtualenvs/easyocr/lib’, ‘/usr/local/lib’, ‘/usr/lib’, ‘/usr/lib/aarch64-linux-gnu’]
NOT AVAILABLE

blis_info:
  libraries blis not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

openblas_info:
  libraries openblas not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

atlas_3_10_blas_info:
  libraries satlas not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
  libraries ptf77blas,ptcblas,atlas not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

atlas_blas_info:
  libraries f77blas,cblas,atlas not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

/tmp/pip-install-mcw3c6ky/numpy/numpy/distutils/system_info.py:572: UserWarning:
    Atlas (http://math-atlas.sourceforge.net/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [atlas]) or by setting
    the ATLAS environment variable.
  self.calc_info()
blas_info:
  libraries blas not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

/tmp/pip-install-mcw3c6ky/numpy/numpy/distutils/system_info.py:572: UserWarning:
    Blas (http://www.netlib.org/blas/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [blas]) or by setting
    the BLAS environment variable.
  self.calc_info()
blas_src_info:
  NOT AVAILABLE

/tmp/pip-install-mcw3c6ky/numpy/numpy/distutils/system_info.py:572: UserWarning:
    Blas (http://www.netlib.org/blas/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [blas_src]) or by setting
    the BLAS_SRC environment variable.
  self.calc_info()
  NOT AVAILABLE

/bin/sh: 1: svnversion: not found
non-existing path in 'numpy/distutils': 'site.cfg'
/bin/sh: 1: svnversion: not found
F2PY Version 2
lapack_opt_info:
lapack_mkl_info:
  libraries mkl_rt not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

openblas_lapack_info:
  libraries openblas not found in ['/home/user1/.virtualenvs/easyocr/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/aarch64-linux-gnu']
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
  libraries tatlas,tatlas not found in /home/user1/.virtualenvs/easyocr/lib
  libraries lapack_atlas not found in /home/user1/.virtualenvs/easyocr/lib
  libraries tatlas,tatlas not found in /usr/local/lib
  libraries lapack_atlas not found in /usr/local/lib
  libraries tatlas,tatlas not found in /usr/lib
  libraries lapack_atlas not found in /usr/lib
  libraries tatlas,tatlas not found in /usr/lib/aarch64-linux-gnu
  libraries lapack_atlas not found in /usr/lib/aarch64-linux-gnu
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
  NOT AVAILABLE

We never tried that before, may other developer to share experience if they have done it.