termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.1k stars 3.01k forks source link

[Question]: How to install pip3~tgcf #14697

Closed aicynide closed 1 year ago

aicynide commented 1 year ago

Problem description

It has numpy dependency due to which not installable

What steps will reproduce the bug?

pip3 install tgcf

What is the expected behavior?

No response

System information

https://github.com/aahnik/tgcf

Grimler91 commented 1 year ago

Please share output you get when you try to install it (with python-numpy installed)

aicynide commented 1 year ago

Please share output you get when you try to install it (with python-numpy installed)

I can't understand what's different in python-numpy but it can't use termux numpy, it needs pip numpy so yeah the error is same as if numpy isn't installed.its trying to install numpy from pip even its already installed.

error: subprocess-exited-with-error

  × pip subprocess to install build dependencies did not run successfully.
  │ exit code: 1
  ╰─> [242 lines of output]
      Collecting setuptools>=51.0.0
        Using cached setuptools-66.1.1-py3-none-any.whl (1.3 MB)
      Collecting wheel
        Using cached wheel-0.38.4-py3-none-any.whl (36 kB)
      Collecting Cython<3,>=0.29.32
        Using cached Cython-0.29.33-py2.py3-none-any.whl (987 kB)
      Collecting oldest-supported-numpy>=2022.8.16
        Using cached oldest_supported_numpy-2022.11.19-py3-none-any.whl (4.9 kB)
      Collecting numpy==1.23.2
        Using cached numpy-1.23.2.tar.gz (10.7 MB)
        Installing build dependencies: started
        Installing build dependencies: finished with status 'done'
        Getting requirements to build wheel: started
        Getting requirements to build wheel: finished with status 'done'
        Preparing metadata (pyproject.toml): started
        Preparing metadata (pyproject.toml): finished with status 'done'
      Building wheels for collected packages: numpy
        Building wheel for numpy (pyproject.toml): started
        Building wheel for numpy (pyproject.toml): finished with status 'error'
        error: subprocess-exited-with-error

        × Building wheel for numpy (pyproject.toml) did not run successfully.
        │ exit code: 1
        ╰─> [212 lines of output]
            setup.py:71: RuntimeWarning: NumPy 1.23.2 may not yet support Python 3.11.
              warnings.warn(
            Running from numpy source directory.
            setup.py:86: DeprecationWarning:

              `numpy.distutils` is deprecated since NumPy 1.23.0, as a result
              of the deprecation of `distutils` itself. It will be removed for
              Python >= 3.12. For older Python versions it will remain present.
              It is recommended to use `setuptools < 60.0` for those Python versions.
              For more details, see:
                https://numpy.org/devdocs/reference/distutils_status_migration.html

              import numpy.distutils.command.sdist
            Processing numpy/random/_bounded_integers.pxd.in
            Processing numpy/random/_philox.pyx
            Processing numpy/random/_mt19937.pyx
            Processing numpy/random/_sfc64.pyx
            Processing numpy/random/bit_generator.pyx
            Processing numpy/random/_generator.pyx
            Processing numpy/random/_bounded_integers.pyx.in
            Processing numpy/random/_common.pyx
            Processing numpy/random/mtrand.pyx
            Processing numpy/random/_pcg64.pyx
            Cythonizing sources
            INFO: blas_opt_info:
            INFO: blas_armpl_info:
            INFO: customize UnixCCompiler
            INFO:   libraries armpl_lp64_mp not found in ['/data/data/com.termux/files/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blas_mkl_info:
            INFO:   libraries mkl_rt not found in ['/data/data/com.termux/files/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: blis_info:
            INFO:   libraries blis not found in ['/data/data/com.termux/files/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_info:
            INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC

            creating /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data
            creating /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data/data
            creating /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data/data/com.termux
            creating /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data/data/com.termux/files
            creating /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data/data/com.termux/files/usr
            creating /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data/data/com.termux/files/usr/tmp
            creating /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data/data/com.termux/files/usr/tmp/tmpfqk0lymg
            INFO: compile options: '-c'
            INFO: aarch64-linux-android-clang: /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/source.c
            INFO: aarch64-linux-android-clang /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/data/data/com.termux/files/usr/tmp/tmpfqk0lymg/source.o -L/data/data/com.termux/files/usr/lib -lopenblas -o /data/data/com.termux/files/usr/tmp/tmpfqk0lymg/a.out
            INFO:   FOUND:
            INFO:     libraries = ['openblas', 'openblas']
            INFO:     library_dirs = ['/data/data/com.termux/files/usr/lib']
            INFO:     language = c
            INFO:     define_macros = [('HAVE_CBLAS', None)]
            INFO:
            INFO:   FOUND:
            INFO:     libraries = ['openblas', 'openblas']
            INFO:     library_dirs = ['/data/data/com.termux/files/usr/lib']
            INFO:     language = c
            INFO:     define_macros = [('HAVE_CBLAS', None)]
            INFO:
            non-existing path in 'numpy/distutils': 'site.cfg'
            INFO: lapack_opt_info:
            INFO: lapack_armpl_info:
            INFO:   libraries armpl_lp64_mp not found in ['/data/data/com.termux/files/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: lapack_mkl_info:
            INFO:   libraries mkl_rt not found in ['/data/data/com.termux/files/usr/lib']
            INFO:   NOT AVAILABLE
            INFO:
            INFO: openblas_lapack_info:
            INFO: C compiler: aarch64-linux-android-clang -DNDEBUG -g -fwrapv -O3 -Wall -fstack-protector-strong -O3 -fstack-protector-strong -O3 -fPIC

            creating /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data
            creating /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data/data
            creating /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data/data/com.termux
            creating /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data/data/com.termux/files
            creating /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data/data/com.termux/files/usr
            creating /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data/data/com.termux/files/usr/tmp
            creating /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data/data/com.termux/files/usr/tmp/tmpyf6w26sd
            INFO: compile options: '-c'
            INFO: aarch64-linux-android-clang: /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/source.c
            INFO: aarch64-linux-android-clang /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/data/data/com.termux/files/usr/tmp/tmpyf6w26sd/source.o -L/data/data/com.termux/files/usr/lib -lopenblas -o /data/data/com.termux/files/usr/tmp/tmpyf6w26sd/a.out
            INFO:   FOUND:
            INFO:     libraries = ['openblas', 'openblas']
            INFO:     library_dirs = ['/data/data/com.termux/files/usr/lib']
            INFO:     language = c
            INFO:     define_macros = [('HAVE_CBLAS', None)]
            INFO:
            INFO:   FOUND:
            INFO:     libraries = ['openblas', 'openblas']
            INFO:     library_dirs = ['/data/data/com.termux/files/usr/lib']
            INFO:     language = c
            INFO:     define_macros = [('HAVE_CBLAS', None)]
            INFO:
            Warning: attempted relative import with no known parent package
            /data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
              warnings.warn(msg)
            running bdist_wheel
            running build
            running config_cc
            INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
            running config_fc
            INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
            running build_src
            INFO: build_src
            INFO: building py_modules sources
            creating build
            creating build/src.linux-aarch64-3.11
            creating build/src.linux-aarch64-3.11/numpy
            creating build/src.linux-aarch64-3.11/numpy/distutils
            INFO: building library "npymath" sources
            WARN: Could not locate executable armflang
            WARN: Could not locate executable gfortran
            WARN: Could not locate executable f95
            WARN: Could not locate executable ifort
            WARN: Could not locate executable ifc
            WARN: Could not locate executable lf95
            WARN: Could not locate executable pgfortran
            WARN: Could not locate executable nvfortran
            WARN: Could not locate executable f90
            WARN: Could not locate executable f77
            WARN: Could not locate executable fort
            WARN: Could not locate executable efort
            WARN: Could not locate executable efc
            WARN: Could not locate executable g77
            WARN: Could not locate executable g95
            WARN: Could not locate executable pathf95
            WARN: Could not locate executable nagfor
            WARN: Could not locate executable frt
            WARN: don't know how to compile Fortran code on platform 'posix'
            creating build/src.linux-aarch64-3.11/numpy/core
            creating build/src.linux-aarch64-3.11/numpy/core/src
            creating build/src.linux-aarch64-3.11/numpy/core/src/npymath
            INFO: conv_template:> build/src.linux-aarch64-3.11/numpy/core/src/npymath/npy_math_internal.h
            INFO:   adding 'build/src.linux-aarch64-3.11/numpy/core/src/npymath' to include_dirs.
            INFO: conv_template:> build/src.linux-aarch64-3.11/numpy/core/src/npymath/ieee754.c
            INFO: conv_template:> build/src.linux-aarch64-3.11/numpy/core/src/npymath/npy_math_complex.c
            INFO: None - nothing done with h_files = ['build/src.linux-aarch64-3.11/numpy/core/src/npymath/npy_math_internal.h']
            INFO: building library "npyrandom" sources
            INFO: building extension "numpy.core._multiarray_tests" sources
            creating build/src.linux-aarch64-3.11/numpy/core/src/multiarray
            INFO: conv_template:> build/src.linux-aarch64-3.11/numpy/core/src/multiarray/_multiarray_tests.c
            INFO: building extension "numpy.core._multiarray_umath" sources
            Traceback (most recent call last):
              File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
                main()
              File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
                json_out['return_val'] = hook(**hook_input['kwargs'])
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
                return _build_backend().build_wheel(wheel_directory, config_settings,
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 230, in build_wheel
                return self._build_with_temp_dir(['bdist_wheel'], '.whl',
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 215, in _build_with_temp_dir
                self.run_setup()
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 268, in run_setup
                self).run_setup(setup_script=setup_script)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 158, in run_setup
                exec(compile(code, __file__, 'exec'), locals())
              File "setup.py", line 493, in <module>
                setup_package()
              File "setup.py", line 485, in setup_package
                setup(**metadata)
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/distutils/core.py", line 169, in setup
                return old_setup(**new_attr)
                       ^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 153, in setup
                return distutils.core.setup(**attrs)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 148, in setup
                dist.run_commands()
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
                self.run_command(cmd)
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 299, in run
                self.run_command('build')
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/distutils/command/build.py", line 62, in run
                old_build.run(self)
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 135, in run
                self.run_command(cmd_name)
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
                self.distribution.run_command(command)
              File "/data/data/com.termux/files/usr/tmp/pip-build-env-_fcdpp7q/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
                cmd_obj.run()
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/distutils/command/build_src.py", line 144, in run
                self.build_sources()
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/distutils/command/build_src.py", line 161, in build_sources
                self.build_extension_sources(ext)
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/distutils/command/build_src.py", line 318, in build_extension_sources
                sources = self.generate_sources(sources, ext)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/distutils/command/build_src.py", line 378, in generate_sources
                source = func(extension, build_dir)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/core/setup.py", line 513, in generate_config_h
                check_math_capabilities(config_cmd, ext, moredefs, mathlibs)
              File "/data/data/com.termux/files/usr/tmp/pip-install-f9ig7ilz/numpy_f2f45bd122074835ad66e4b7eaf06fd6/numpy/core/setup.py", line 176, in check_math_capabilities
                raise SystemError("One of the required function to build numpy is not"
            SystemError: One of the required function to build numpy is not available (the list is ['sin', 'cos', 'tan', 'sinh', 'cosh', 'tanh', 'fabs', 'floor', 'ceil', 'sqrt', 'log10', 'log', 'exp', 'asin', 'acos', 'atan', 'fmod', 'modf', 'frexp', 'ldexp']).
            [end of output]

        note: This error originates from a subprocess, and is likely not a problem with pip.
        ERROR: Failed building wheel for numpy
      Failed to build numpy
      ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
xtkoba commented 1 year ago

Due to build isolation. See discussions in e.g. #14095 and #12430.

aicynide commented 1 year ago

Kindly give me a workaround so I can close this issue

sylirre commented 1 year ago

Run export MATHLIB="m" before installing numpy.

aicynide commented 1 year ago

Now getting pyarrow==10.0.1 error which is a streamlit dependency

  error: subprocess-exited-with-error
                                                                                          × Building wheel for pyarrow (pyproject.toml) did not run successfully.
  │ exit code: 1                                                                          ╰─> [287 lines of output]
      running bdist_wheel                                                                     running build
      running build_py                                                                        creating build
      creating build/lib.linux-aarch64-cpython-311                                            creating build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/plasma.py -> build/lib.linux-aarch64-cpython-311/pyarrow                copying pyarrow/hdfs.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/filesystem.py -> build/lib.linux-aarch64-cpython-311/pyarrow            copying pyarrow/csv.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/pandas_compat.py -> build/lib.linux-aarch64-cpython-311/pyarrow         copying pyarrow/orc.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/benchmark.py -> build/lib.linux-aarch64-cpython-311/pyarrow             copying pyarrow/fs.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/flight.py -> build/lib.linux-aarch64-cpython-311/pyarrow                copying pyarrow/ipc.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/conftest.py -> build/lib.linux-aarch64-cpython-311/pyarrow              copying pyarrow/json.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/substrait.py -> build/lib.linux-aarch64-cpython-311/pyarrow             copying pyarrow/_generated_version.py -> build/lib.linux-aarch64-cpython-311/pyarrow                                                                                            copying pyarrow/cuda.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/dataset.py -> build/lib.linux-aarch64-cpython-311/pyarrow               copying pyarrow/compute.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/serialization.py -> build/lib.linux-aarch64-cpython-311/pyarrow         copying pyarrow/cffi.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/jvm.py -> build/lib.linux-aarch64-cpython-311/pyarrow                   copying pyarrow/feather.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/util.py -> build/lib.linux-aarch64-cpython-311/pyarrow                  copying pyarrow/types.py -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/__init__.py -> build/lib.linux-aarch64-cpython-311/pyarrow              copying pyarrow/_compute_docstrings.py -> build/lib.linux-aarch64-cpython-311/pyarrow                                                                                           creating build/lib.linux-aarch64-cpython-311/pyarrow/parquet
      copying pyarrow/parquet/core.py -> build/lib.linux-aarch64-cpython-311/pyarrow/parquet
      copying pyarrow/parquet/__init__.py -> build/lib.linux-aarch64-cpython-311/pyarrow/parquet
      copying pyarrow/parquet/encryption.py -> build/lib.linux-aarch64-cpython-311/pyarrow/parquet
      creating build/lib.linux-aarch64-cpython-311/pyarrow/tests                              copying pyarrow/tests/test_schema.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                       copying pyarrow/tests/test_array.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                        copying pyarrow/tests/conftest.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                          copying pyarrow/tests/test_cuda_numba_interop.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                           copying pyarrow/tests/test_table.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                        copying pyarrow/tests/test_plasma.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                       copying pyarrow/tests/test_plasma_tf_op.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                 copying pyarrow/tests/test_strategies.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                   copying pyarrow/tests/test_adhoc_memory_leak.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                            copying pyarrow/tests/test_serialization_deprecated.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                     copying pyarrow/tests/test_fs.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                           copying pyarrow/tests/test_feather.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                      copying pyarrow/tests/test_filesystem.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                   copying pyarrow/tests/test_gdb.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                          copying pyarrow/tests/test_io.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                           copying pyarrow/tests/test_exec_plan.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                    copying pyarrow/tests/test_deprecations.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                 copying pyarrow/tests/test_convert_builtin.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_scalars.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_cuda.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                         copying pyarrow/tests/test_misc.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                         copying pyarrow/tests/test_tensor.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                       copying pyarrow/tests/test_builder.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_orc.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_gandiva.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_substrait.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/pandas_examples.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_json.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_cython.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                       copying pyarrow/tests/strategies.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                        copying pyarrow/tests/test_csv.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_pandas.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_serialization.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/deserialize_buffer.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                copying pyarrow/tests/pandas_threaded_import.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                            copying pyarrow/tests/arrow_16597.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_dataset.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                      copying pyarrow/tests/__init__.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_ipc.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/arrow_7980.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_extension_type.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_cpp_internals.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_sparse_tensor.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_memory.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_types.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_hdfs.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_cffi.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_udf.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/util.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_jvm.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests                                                                                          copying pyarrow/tests/test_compute.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_util.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/read_record_batch.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/test_flight.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      creating build/lib.linux-aarch64-cpython-311/pyarrow/vendored
      copying pyarrow/vendored/__init__.py -> build/lib.linux-aarch64-cpython-311/pyarrow/vendored
      copying pyarrow/vendored/docscrape.py -> build/lib.linux-aarch64-cpython-311/pyarrow/vendored
      copying pyarrow/vendored/version.py -> build/lib.linux-aarch64-cpython-311/pyarrow/vendored
      creating build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/test_compliant_nested_type.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/test_pandas.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/test_datetime.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/common.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/test_basic.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/test_parquet_writer.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/test_parquet_file.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet
      copying pyarrow/tests/parquet/encryption.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet                                                                        copying pyarrow/tests/parquet/test_metadata.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet                                                                     copying pyarrow/tests/parquet/conftest.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet                                                                          copying pyarrow/tests/parquet/__init__.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet                                                                          copying pyarrow/tests/parquet/test_dataset.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet                                                                      copying pyarrow/tests/parquet/test_encryption.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet                                                                   copying pyarrow/tests/parquet/test_data_types.py -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/parquet                                                                   running egg_info
      writing pyarrow.egg-info/PKG-INFO
      writing dependency_links to pyarrow.egg-info/dependency_links.txt
      writing entry points to pyarrow.egg-info/entry_points.txt                               writing requirements to pyarrow.egg-info/requires.txt
      writing top-level names to pyarrow.egg-info/top_level.txt
      listing git files failed - pretending there aren't any
      reading manifest file 'pyarrow.egg-info/SOURCES.txt'                                    reading manifest template 'MANIFEST.in'
      warning: no files found matching '../LICENSE.txt'                                       warning: no files found matching '../NOTICE.txt'
      warning: no previously-included files matching '*.so' found anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*~' found anywhere in distribution      warning: no previously-included files matching '#*' found anywhere in distribution
      warning: no previously-included files matching '.git*' found anywhere in distribution
      warning: no previously-included files matching '.DS_Store' found anywhere in distribution
      no previously-included directories found matching '.asv'
      writing manifest file 'pyarrow.egg-info/SOURCES.txt'
      copying pyarrow/__init__.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow             copying pyarrow/_compute.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_compute.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_csv.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_csv.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_cuda.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_cuda.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_dataset.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_dataset.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_dataset_orc.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_dataset_parquet.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_exec_plan.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_feather.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_flight.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_fs.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_fs.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_gcsfs.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_hdfs.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_hdfsio.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow              copying pyarrow/_json.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_orc.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_orc.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_parquet.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow             copying pyarrow/_parquet.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_parquet_encryption.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_parquet_encryption.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_plasma.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_pyarrow_cpp_tests.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_pyarrow_cpp_tests.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_s3fs.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/_substrait.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/array.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/benchmark.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow            copying pyarrow/builder.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/compat.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/config.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/error.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/gandiva.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/io.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/ipc.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/lib.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/lib.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/memory.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow               copying pyarrow/pandas-shim.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/public-api.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow           copying pyarrow/scalar.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/serialization.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow        copying pyarrow/table.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow                copying pyarrow/tensor.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      copying pyarrow/types.pxi -> build/lib.linux-aarch64-cpython-311/pyarrow
      creating build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_feather.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libgandiva.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_cuda.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes                                                                              copying pyarrow/includes/libplasma.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_dataset_parquet.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes                                                                   copying pyarrow/includes/libarrow.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_dataset.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_fs.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_substrait.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/common.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/__init__.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_python.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      copying pyarrow/includes/libarrow_flight.pxd -> build/lib.linux-aarch64-cpython-311/pyarrow/includes
      creating build/lib.linux-aarch64-cpython-311/pyarrow/tensorflow
      copying pyarrow/tensorflow/plasma_op.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/tensorflow
      copying pyarrow/tests/bound_function_visit_strings.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      copying pyarrow/tests/pyarrow_cython_example.pyx -> build/lib.linux-aarch64-cpython-311/pyarrow/tests
      creating build/lib.linux-aarch64-cpython-311/pyarrow/src
      copying pyarrow/src/ArrowPythonConfig.cmake.in -> build/lib.linux-aarch64-cpython-311/pyarrow/src
      copying pyarrow/src/ArrowPythonFlightConfig.cmake.in -> build/lib.linux-aarch64-cpython-311/pyarrow/src
      copying pyarrow/src/CMakeLists.txt -> build/lib.linux-aarch64-cpython-311/pyarrow/src
      copying pyarrow/src/arrow-python-flight.pc.in -> build/lib.linux-aarch64-cpython-311/pyarrow/src
      copying pyarrow/src/arrow-python.pc.in -> build/lib.linux-aarch64-cpython-311/pyarrow/src
      creating build/lib.linux-aarch64-cpython-311/pyarrow/tests/data
      creating build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/parquet
      copying pyarrow/tests/data/parquet/v0.7.1.all-named-index.parquet -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/parquet
      copying pyarrow/tests/data/parquet/v0.7.1.column-metadata-handling.parquet -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/parquet
      copying pyarrow/tests/data/parquet/v0.7.1.parquet -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/parquet
      copying pyarrow/tests/data/parquet/v0.7.1.some-named-index.parquet -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/parquet                                            creating build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc
      copying pyarrow/tests/data/orc/README.md -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc
      copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.jsn.gz -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc
      copying pyarrow/tests/data/orc/TestOrcFile.emptyFile.orc -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc                                                          copying pyarrow/tests/data/orc/TestOrcFile.test1.jsn.gz -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc                                                           copying pyarrow/tests/data/orc/TestOrcFile.test1.orc -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc                                                              copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.jsn.gz -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc                                                    copying pyarrow/tests/data/orc/TestOrcFile.testDate1900.orc -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc                                                       copying pyarrow/tests/data/orc/decimal.jsn.gz -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc                                                                     copying pyarrow/tests/data/orc/decimal.orc -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/orc                                                                        creating build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/feather
      copying pyarrow/tests/data/feather/v0.17.0.version.2-compression.lz4.feather -> build/lib.linux-aarch64-cpython-311/pyarrow/tests/data/feather
      creating build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow                          creating build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/CMakeLists.txt -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/api.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/arrow_to_pandas.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/arrow_to_pandas.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/arrow_to_python_internal.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/benchmark.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/benchmark.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/common.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/common.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/csv.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/csv.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/datetime.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/datetime.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/decimal.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/decimal.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/deserialize.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/deserialize.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                  copying pyarrow/src/arrow/python/extension_type.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                              copying pyarrow/src/arrow/python/extension_type.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                               copying pyarrow/src/arrow/python/filesystem.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                  copying pyarrow/src/arrow/python/filesystem.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                   copying pyarrow/src/arrow/python/flight.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                      copying pyarrow/src/arrow/python/flight.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                       copying pyarrow/src/arrow/python/gdb.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                         copying pyarrow/src/arrow/python/gdb.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                          copying pyarrow/src/arrow/python/helpers.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                     copying pyarrow/src/arrow/python/helpers.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                      copying pyarrow/src/arrow/python/inference.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                   copying pyarrow/src/arrow/python/inference.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                    copying pyarrow/src/arrow/python/init.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                        copying pyarrow/src/arrow/python/init.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                         copying pyarrow/src/arrow/python/io.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                          copying pyarrow/src/arrow/python/io.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                           copying pyarrow/src/arrow/python/ipc.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                         copying pyarrow/src/arrow/python/ipc.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                          copying pyarrow/src/arrow/python/iterators.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                    copying pyarrow/src/arrow/python/numpy_convert.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                               copying pyarrow/src/arrow/python/numpy_convert.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                copying pyarrow/src/arrow/python/numpy_internal.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                               copying pyarrow/src/arrow/python/numpy_interop.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                copying pyarrow/src/arrow/python/numpy_to_arrow.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                              copying pyarrow/src/arrow/python/numpy_to_arrow.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                               copying pyarrow/src/arrow/python/parquet_encryption.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                          copying pyarrow/src/arrow/python/parquet_encryption.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                           copying pyarrow/src/arrow/python/pch.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/platform.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/pyarrow.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/pyarrow.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python
      copying pyarrow/src/arrow/python/pyarrow_api.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                  copying pyarrow/src/arrow/python/pyarrow_lib.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                  copying pyarrow/src/arrow/python/python_test.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                 copying pyarrow/src/arrow/python/python_test.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                  copying pyarrow/src/arrow/python/python_to_arrow.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                             copying pyarrow/src/arrow/python/python_to_arrow.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                              copying pyarrow/src/arrow/python/serialize.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                   copying pyarrow/src/arrow/python/serialize.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                    copying pyarrow/src/arrow/python/type_traits.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                  copying pyarrow/src/arrow/python/udf.cc -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                         copying pyarrow/src/arrow/python/udf.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                          copying pyarrow/src/arrow/python/visibility.h -> build/lib.linux-aarch64-cpython-311/pyarrow/src/arrow/python                                                                   running build_ext
      creating /data/data/com.termux/files/usr/tmp/pip-install-qsvz893t/pyarrow_90269e54387c48e0a6b0030e176825eb/build/cpp
      -- Running CMake for PyArrow C++                                                        cmake -DARROW_BUILD_DIR=build -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_PREFIX=/data/data/com.termux/files/usr/tmp/pip-install-qsvz893t/pyarrow_90269e54387c48e0a6b0030e176825eb/build/dist -DPYTHON_EXECUTABLE=/data/data/com.termux/files/usr/bin/python3 -DPython3_EXECUTABLE=/data/data/com.termux/files/usr/bin/python3 -DPYARROW_CXXFLAGS= -DPYARROW_WITH_DATASET=off -DPYARROW_WITH_PARQUET_ENCRYPTION=off -DPYARROW_WITH_HDFS=off -DPYARROW_WITH_FLIGHT=off /data/data/com.termux/files/usr/tmp/pip-install-qsvz893t/pyarrow_90269e54387c48e0a6b0030e176825eb/pyarrow/src
      error: command 'cmake' failed: No such file or directory
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyarrow
Failed to build pyarrow                                                                 ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
sylirre commented 1 year ago

pkg install cmake

sylirre commented 1 year ago

@tathastu871 Many of these flags are no longer needed but some additional new steps are needed.

I will post detailed info later.

sylirre commented 1 year ago

Installation steps for tgcf as it would be done on fresh Termux v0.118:

yes | pkg upgrade
pkg update
pkg install -y python python-pip build-essential cmake rust libandroid-execinfo libarrow-cpp libjpeg-turbo libpng
export MATHLIB="m"
export LDFLAGS="-lpython3.11"
pip3 install tgcf

The installation may take 40+ minutes (more on slow devices) if big dependencies like numpy or pandas were not installed previously.

Packages build-essential, cmake and rust can be uninstalled after finish.

Use of custom packages like gcc instead of clang or downgraded package versions may trigger errors that can't be solved without modifying Python modules code.

Screenshot_20230122-142418

tathastu871 commented 1 year ago

Installation steps for tgcf as it would be done on fresh Termux v0.118:

yes | pkg upgrade
pkg update
pkg install -y python build-essential cmake rust libandroid-execinfo libarrow-cpp libjpeg-turbo libpng
export MATHLIB=m
pip3 install tgcf

The installation may take 40+ minutes (more on slow devices) if big dependencies like numpy or pandas were not installed previously.

Packages build-essential, cmake and rust can be uninstalled after finish.

Use of custom packages like gcc instead of clang or downgraded package versions may trigger errors that can't be solved without modifying Python modules code.

Screenshot_20230122-142418

Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/bin/streamlit", line 5, in <module>
    from streamlit.web.cli import main
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/__init__.py", line 55, in <module>
    from streamlit.delta_generator import DeltaGenerator as _DeltaGenerator
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/delta_generator.py", line 38, in <module>
    from streamlit import config, cursor, env_util, logger, runtime, type_util, util
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/cursor.py", line 18, in <module>
    from streamlit.runtime.scriptrunner import get_script_run_ctx
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/runtime/__init__.py", line 16, in <module>
    from streamlit.runtime.runtime import Runtime as Runtime
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/runtime/runtime.py", line 28, in <module>
    from streamlit.runtime.app_session import AppSession
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/runtime/app_session.py", line 35, in <module>
    from streamlit.runtime import caching, legacy_caching
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/runtime/caching/__init__.py", line 21, in <module>
    from streamlit.runtime.state.session_state import WidgetMetadata
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/runtime/state/__init__.py", line 16, in <module>
    from streamlit.runtime.state.safe_session_state import (
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/runtime/state/safe_session_state.py", line 20, in <module>
    from streamlit.runtime.state.session_state import (
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/runtime/state/session_state.py", line 43, in <module>
    from streamlit.type_util import ValueFieldName, is_array_value_field_name
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/streamlit/type_util.py", line 35, in <module>
    import pyarrow as pa
  File "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pyarrow/__init__.py", line 65, in <module>
    import pyarrow.lib as _lib
ImportError: dlopen failed: cannot locate symbol "PyBaseObject_Type" referenced by "/data/data/com.termux/files/usr/lib/python3.11/site-packages/pyarrow/lib.cpython-311.so"...
/data/data/com.termux/files/usr/lib/python3.11/site-packages/tgcf/web_ui
sylirre commented 1 year ago

As temporary workaround:

export LD_PRELOAD="$LD_PRELOAD:/data/data/com.termux/files/usr/lib/libpython3.11.so.1.0"

Later will update previous comment with a build-time solution for this. Added LDFLAGS step for build-time.

aicynide commented 1 year ago

pkg install cmake

Lol I thought 🤣 a built file is missing. Actually i didn't realize cmake isn't installed in my termux