Error when I installed opencv-python on 32-bit system

hello I have a serious problem in the installation of the package, and I get the following error:

I have modified the links by removing the https and a / in order to publish the post.

Collecting opencv-python
  Using cached :/files.pythonhosted.org/packages/b6/82/0519fdbbcaddc0fa8c2568327a8311477315a91b4513738ee1d35f0ce715/opencv-python-4.5.4.58.tar.gz
  Installing build dependencies ... done
Collecting numpy>=1.14.5 (from opencv-python)
  Using cached :/files.pythonhosted.org/packages/fb/48/b0708ebd7718a8933f0d3937513ef8ef2f4f04529f1f66ca86d873043921/numpy-1.21.4.zip
  Installing build dependencies ... done
Building wheels for collected packages: opencv-python, numpy
  Running setup.py bdist_wheel for opencv-python ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vyzftot9/opencv-python/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-tw8a0_im --python-tag cp37:
  patching file opencv/3rdparty/openexr/IlmImf/ImfSystemSpecific.cpp
  
  
  --------------------------------------------------------------------------------
  -- Trying "Ninja" generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
  -- Configuring incomplete, errors occurred!
  See also "/tmp/pip-install-vyzftot9/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying "Ninja" generator - failure
  --------------------------------------------------------------------------------
  
  
  
  --------------------------------------------------------------------------------
  -- Trying "Unix Makefiles" generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is GNU 8.3.0
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: /usr/bin/cc
  -- Check for working C compiler: /usr/bin/cc - broken
  CMake Error at /tmp/pip-build-env-0l_g74t8/lib/python3.7/site-packages/cmake/data/share/cmake-3.21/Modules/CMakeTestCCompiler.cmake:69 (message):
    The C compiler
  
      "/usr/bin/cc"
  
    is not able to compile a simple test program.
  
    It fails with the following output:
  
      Change Dir: /tmp/pip-install-vyzftot9/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeTmp
  
      Run Build Command(s):/usr/bin/make -f Makefile cmTC_0de2e/fast && /usr/bin/make  -f CMakeFiles/cmTC_0de2e.dir/build.make CMakeFiles/cmTC_0de2e.dir/build
      make[1]: se entra en el directorio '/tmp/pip-install-vyzftot9/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeTmp'
      Building C object CMakeFiles/cmTC_0de2e.dir/testCCompiler.c.o
      /usr/bin/cc    -o CMakeFiles/cmTC_0de2e.dir/testCCompiler.c.o -c /tmp/pip-install-vyzftot9/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeTmp/testCCompiler.c
      Linking C executable cmTC_0de2e
      /tmp/pip-build-env-0l_g74t8/lib/python3.7/site-packages/cmake/data/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0de2e.dir/link.txt --verbose=1
      /usr/bin/cc -rdynamic CMakeFiles/cmTC_0de2e.dir/testCCompiler.c.o -o cmTC_0de2e
      /usr/bin/ld: no se puede encontrar Scrt1.o: No existe el fichero o el directorio
      /usr/bin/ld: no se puede encontrar crti.o: No existe el fichero o el directorio
      collect2: error: ld returned 1 exit status
      make[1]: *** [CMakeFiles/cmTC_0de2e.dir/build.make:99: cmTC_0de2e] Error 1
      make[1]: se sale del directorio '/tmp/pip-install-vyzftot9/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeTmp'
      make: *** [Makefile:127: cmTC_0de2e/fast] Error 2
  
  
  
  
  
    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt:3 (ENABLE_LANGUAGE)
  
  
  -- Configuring incomplete, errors occurred!
  See also "/tmp/pip-install-vyzftot9/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
  See also "/tmp/pip-install-vyzftot9/opencv-python/_cmake_test_compile/build/CMakeFiles/CMakeError.log".
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying "Unix Makefiles" generator - failure
  --------------------------------------------------------------------------------
  
  ********************************************************************************
  scikit-build could not get a working generator for your system. Aborting build.
  
  Building Linux wheels for Python 3.7 requires a compiler (e.g gcc).
  It can be installed using debian package manager:
  
    sudo apt-get install build-essential
  
  To build compliant wheels, consider using the manylinux system described in PEP-513.
  Get it with "dockcross/manylinux-x86" docker image:
  
    https://github.com/dockcross/dockcross#readme
  
  For more details, please refer to scikit-build documentation:
  
    http://scikit-build.readthedocs.io/en/latest/generators.html#linux
  
  ********************************************************************************
  
  ----------------------------------------
  Failed building wheel for opencv-python
  Running setup.py clean for opencv-python
  Running setup.py bdist_wheel for numpy ... error
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vyzftot9/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-hadd4w7o --python-tag cp37:
  Running from numpy source directory.
  Cythonizing sources
  Processing numpy/random/_bounded_integers.pxd.in
  Processing numpy/random/_generator.pyx
  Processing numpy/random/_sfc64.pyx
  Processing numpy/random/mtrand.pyx
  Processing numpy/random/bit_generator.pyx
  Processing numpy/random/_bounded_integers.pyx.in
  Processing numpy/random/_mt19937.pyx
  Processing numpy/random/_pcg64.pyx
  Processing numpy/random/_philox.pyx
  Processing numpy/random/_common.pyx
  blas_opt_info:
  blas_mkl_info:
  customize UnixCCompiler
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  blis_info:
    libraries blis not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  openblas_info:
    libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  accelerate_info:
    NOT AVAILABLE
  
  atlas_3_10_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries tatlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  atlas_3_10_blas_info:
    libraries satlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  atlas_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  atlas_blas_info:
    libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:2026: UserWarning:
      Optimized (vendor) Blas libraries are not found.
      Falls back to netlib Blas library which has worse performance.
      A better performance should be easily gained by switching
      Blas library.
    if self._calc_info(blas):
  blas_info:
    libraries blas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:2026: UserWarning:
      Blas (:/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.
    if self._calc_info(blas):
  blas_src_info:
    NOT AVAILABLE
  
  /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:2026: UserWarning:
      Blas (:/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.
    if self._calc_info(blas):
    NOT AVAILABLE
  
  non-existing path in 'numpy/distutils': 'site.cfg'
  lapack_opt_info:
  lapack_mkl_info:
    libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  openblas_lapack_info:
    libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  openblas_clapack_info:
    libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  flame_info:
    libraries flame not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
    libraries lapack_atlas not found in /usr/local/lib
    libraries tatlas,tatlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries tatlas,tatlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries tatlas,tatlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
    libraries tatlas,tatlas not found in /usr/lib/i386-linux-gnu
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE
  
  atlas_3_10_info:
    libraries lapack_atlas not found in /usr/local/lib
    libraries satlas,satlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries satlas,satlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries satlas,satlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
    libraries satlas,satlas not found in /usr/lib/i386-linux-gnu
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE
  
  atlas_threads_info:
  Setting PTATLAS=ATLAS
    libraries lapack_atlas not found in /usr/local/lib
    libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
    libraries ptf77blas,ptcblas,atlas not found in /usr/lib/i386-linux-gnu
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE
  
  atlas_info:
    libraries lapack_atlas not found in /usr/local/lib
    libraries f77blas,cblas,atlas not found in /usr/local/lib
    libraries lapack_atlas not found in /usr/lib
    libraries f77blas,cblas,atlas not found in /usr/lib
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries f77blas,cblas,atlas not found in /usr/lib/i386-linux-gnu/sse2
    libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
    libraries f77blas,cblas,atlas not found in /usr/lib/i386-linux-gnu
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE
  
  lapack_info:
    libraries lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
    NOT AVAILABLE
  
  /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:1858: UserWarning:
      Lapack (:/www.netlib.org/lapack/) libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [lapack]) or by setting
      the LAPACK environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
  lapack_src_info:
    NOT AVAILABLE
  
  /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:1858: UserWarning:
      Lapack (:/www.netlib.org/lapack/) sources not found.
      Directories to search for the sources can be specified in the
      numpy/distutils/site.cfg file (section [lapack_src]) or by setting
      the LAPACK_SRC environment variable.
    return getattr(self, '_calc_info_{}'.format(name))()
    NOT AVAILABLE
  
  numpy_linalg_lapack_lite:
    FOUND:
      language = c
  
  Warning: attempted relative import with no known parent package
  /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
    warnings.warn(msg)
  running bdist_wheel
  running build
  running config_cc
  unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  running config_fc
  unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  running build_src
  build_src
  building py_modules sources
  creating build
  creating build/src.linux-i686-3.7
  creating build/src.linux-i686-3.7/numpy
  creating build/src.linux-i686-3.7/numpy/distutils
  building library "npymath" sources
  Could not locate executable gfortran
  Could not locate executable f95
  Could not locate executable ifort
  Could not locate executable ifc
  Could not locate executable lf95
  Could not locate executable pgfortran
  Could not locate executable nvfortran
  Could not locate executable f90
  Could not locate executable f77
  Could not locate executable fort
  Could not locate executable efort
  Could not locate executable efc
  Could not locate executable g77
  Could not locate executable g95
  Could not locate executable pathf95
  Could not locate executable nagfor
  Could not locate executable frt
  don't know how to compile Fortran code on platform 'posix'
  /usr/bin/ld: no se puede encontrar Scrt1.o: No existe el fichero o el directorio
  /usr/bin/ld: no se puede encontrar crti.o: No existe el fichero o el directorio
  collect2: error: ld returned 1 exit status
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-install-vyzftot9/numpy/setup.py", line 448, in <module>
      setup_package()
    File "/tmp/pip-install-vyzftot9/numpy/setup.py", line 440, in setup_package
      setup(**metadata)
    File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/core.py", line 169, in setup
      return old_setup(**new_attr)
    File "/tmp/pip-build-env-5ynpzfda/lib/python3.7/site-packages/setuptools/__init__.py", line 165, in setup
      return distutils.core.setup(**attrs)
    File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-build-env-5ynpzfda/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build.py", line 61, in run
      old_build.run(self)
    File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 144, in run
      self.build_sources()
    File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 155, in build_sources
      self.build_library_sources(*libname_info)
    File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 288, in build_library_sources
      sources = self.generate_sources(sources, (lib_name, build_info))
    File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 378, in generate_sources
      source = func(extension, build_dir)
    File "numpy/core/setup.py", line 666, in get_mathlib_info
      raise RuntimeError("Broken toolchain: cannot link a simple C program")
  RuntimeError: Broken toolchain: cannot link a simple C program
  
  ----------------------------------------
  Failed building wheel for numpy
  Running setup.py clean for numpy
  Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vyzftot9/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
  Running from numpy source directory.
  
  `setup.py clean` is not supported, use one of the following instead:
  
    - `git clean -xdf` (cleans all files)
    - `git clean -Xdf` (cleans all versioned files, doesn't touch
                        files that aren't checked into the git repo)
  
  Add `--force` to your command to use it anyway if you must (unsupported).
  
  
  ----------------------------------------
  Failed cleaning build dir for numpy
Failed to build opencv-python numpy
Installing collected packages: numpy, opencv-python
  Running setup.py install for numpy ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vyzftot9/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-j8gcr_yv/install-record.txt --single-version-externally-managed --compile --user --prefix=:
    Running from numpy source directory.
    
    Note: if you need reliable uninstall behavior, then install
    with pip instead of using `setup.py install`:
    
      - `pip install .`       (from a git repo or downloaded source
                               release)
      - `pip install numpy`   (last NumPy release on PyPi)
    
    
    Cythonizing sources
    numpy/random/_bounded_integers.pxd.in has not changed
    numpy/random/_generator.pyx has not changed
    Processing numpy/random/_bounded_integers.pyx
    numpy/random/_sfc64.pyx has not changed
    numpy/random/mtrand.pyx has not changed
    numpy/random/bit_generator.pyx has not changed
    numpy/random/_bounded_integers.pyx.in has not changed
    numpy/random/_mt19937.pyx has not changed
    numpy/random/_pcg64.pyx has not changed
    numpy/random/_philox.pyx has not changed
    numpy/random/_common.pyx has not changed
    blas_opt_info:
    blas_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    blis_info:
      libraries blis not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    openblas_info:
      libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    accelerate_info:
      NOT AVAILABLE
    
    atlas_3_10_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries tatlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    atlas_3_10_blas_info:
      libraries satlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    atlas_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries ptf77blas,ptcblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    atlas_blas_info:
      libraries f77blas,cblas,atlas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu/sse2', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:2026: UserWarning:
        Optimized (vendor) Blas libraries are not found.
        Falls back to netlib Blas library which has worse performance.
        A better performance should be easily gained by switching
        Blas library.
      if self._calc_info(blas):
    blas_info:
      libraries blas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:2026: 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.
      if self._calc_info(blas):
    blas_src_info:
      NOT AVAILABLE
    
    /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:2026: 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.
      if self._calc_info(blas):
      NOT AVAILABLE
    
    non-existing path in 'numpy/distutils': 'site.cfg'
    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    openblas_lapack_info:
      libraries openblas not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    openblas_clapack_info:
      libraries openblas,lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    flame_info:
      libraries flame not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib
      libraries tatlas,tatlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries tatlas,tatlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries tatlas,tatlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
      libraries tatlas,tatlas not found in /usr/lib/i386-linux-gnu
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE
    
    atlas_3_10_info:
      libraries lapack_atlas not found in /usr/local/lib
      libraries satlas,satlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries satlas,satlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries satlas,satlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
      libraries satlas,satlas not found in /usr/lib/i386-linux-gnu
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE
    
    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in /usr/local/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
      libraries ptf77blas,ptcblas,atlas not found in /usr/lib/i386-linux-gnu
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE
    
    atlas_info:
      libraries lapack_atlas not found in /usr/local/lib
      libraries f77blas,cblas,atlas not found in /usr/local/lib
      libraries lapack_atlas not found in /usr/lib
      libraries f77blas,cblas,atlas not found in /usr/lib
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries f77blas,cblas,atlas not found in /usr/lib/i386-linux-gnu/sse2
      libraries lapack_atlas not found in /usr/lib/i386-linux-gnu
      libraries f77blas,cblas,atlas not found in /usr/lib/i386-linux-gnu
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE
    
    lapack_info:
      libraries lapack not found in ['/usr/local/lib', '/usr/lib', '/usr/lib/i386-linux-gnu']
      NOT AVAILABLE
    
    /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:1858: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE
    
    /tmp/pip-install-vyzftot9/numpy/numpy/distutils/system_info.py:1858: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE
    
    numpy_linalg_lapack_lite:
      FOUND:
        language = c
    
    Warning: attempted relative import with no known parent package
    /usr/lib/python3.7/distutils/dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
      warnings.warn(msg)
    running install
    running build
    running config_cc
    unifing config_cc, config, build_clib, build_ext, build commands --compiler options
    running config_fc
    unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
    running build_src
    build_src
    building py_modules sources
    building library "npymath" sources
    Could not locate executable gfortran
    Could not locate executable f95
    Could not locate executable ifort
    Could not locate executable ifc
    Could not locate executable lf95
    Could not locate executable pgfortran
    Could not locate executable nvfortran
    Could not locate executable f90
    Could not locate executable f77
    Could not locate executable fort
    Could not locate executable efort
    Could not locate executable efc
    Could not locate executable g77
    Could not locate executable g95
    Could not locate executable pathf95
    Could not locate executable nagfor
    Could not locate executable frt
    don't know how to compile Fortran code on platform 'posix'
    /usr/bin/ld: no se puede encontrar Scrt1.o: No existe el fichero o el directorio
    /usr/bin/ld: no se puede encontrar crti.o: No existe el fichero o el directorio
    collect2: error: ld returned 1 exit status
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-vyzftot9/numpy/setup.py", line 448, in <module>
        setup_package()
      File "/tmp/pip-install-vyzftot9/numpy/setup.py", line 440, in setup_package
        setup(**metadata)
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/core.py", line 169, in setup
        return old_setup(**new_attr)
      File "/tmp/pip-build-env-5ynpzfda/lib/python3.7/site-packages/setuptools/__init__.py", line 165, in setup
        return distutils.core.setup(**attrs)
      File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/install.py", line 60, in run
        r = self.setuptools_run()
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/install.py", line 34, in setuptools_run
        return distutils_install.run(self)
      File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
        self.run_command('build')
      File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build.py", line 61, in run
        old_build.run(self)
      File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 144, in run
        self.build_sources()
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 155, in build_sources
        self.build_library_sources(*libname_info)
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 288, in build_library_sources
        sources = self.generate_sources(sources, (lib_name, build_info))
      File "/tmp/pip-install-vyzftot9/numpy/numpy/distutils/command/build_src.py", line 378, in generate_sources
        source = func(extension, build_dir)
      File "numpy/core/setup.py", line 666, in get_mathlib_info
        raise RuntimeError("Broken toolchain: cannot link a simple C program")
    RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-vyzftot9/numpy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-j8gcr_yv/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-install-vyzftot9/numpy/

I am using python 3.7 and pip3 but with 32 bits but when I install it I get the error, please could you help me because before I had it installed and it worked fine in the same pc and now it doesn’t work.

In the error it told me to install the build-essential package and I installed it but I still get the error.

no gcc or make on your box ?

I don’t know, what is gcc or make

you need a c++ compiler and a make (or ninja) tool to build opencv’s c++ code
(the python bindings are only wrappers around that)

however, if pip tries to build anything, locally, you know, you’re in trouble
(it should never…)

maybe lookout for an older pypi release, that has prebuilt cv2 for your 32bit os ?

I don’t know what I could do, but from what you tell me, should I install c++ to be able to use opencv even in python? if so, then how do I use make which I have installed but I don’t know how to use it?

upgrade system to 64 bit.

this problem will only happen more frequently with time.

do not expect a 32 bit system to be useful.

My biggest problem is that I don’t have the possibility to buy a 64 bit processor, besides, I use a laptop as my main pc, so, it is more difficult for me to get a processor.
:confounded: :tired_face:

which os is it, exactly ?

and, again, have you tried to find an older pypi release, that supports 32bit ?

I use a linux distribution derived from Devian and I have not found an older version, but it seems strange to me, because before that same command to install opencv, allowed me to install opencv without problems.

I guess it was because of a recent update, but unfortunately, I don’t know which version of opencv I had before.

Hello I update my situation, I have used python 2.7 to check if I can install it and I have not succeeded, and I get the following error:

$ pip install opencv-python
Collecting opencv-python
  Using cached https://files.pythonhosted.org/packages/a1/d6/8422797e35f8814b1d9842530566a949d9b5850a466321a6c1d5a99055ee/opencv-python-4.3.0.38.tar.gz
  Installing build dependencies ... done
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-rjTq22/opencv-python/setup.py", line 448, in <module>
        main()
      File "/tmp/pip-install-rjTq22/opencv-python/setup.py", line 99, in main
        % {"ext": re.escape(sysconfig.get_config_var("EXT_SUFFIX"))}
      File "/usr/lib/python2.7/re.py", line 210, in escape
        s = list(pattern)
    TypeError: 'NoneType' object is not iterable
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-rjTq22/opencv-python/