rigol-grab icon indicating copy to clipboard operation
rigol-grab copied to clipboard

Build instructions don't work on Apple M2 / Sonoma 14.3.1

Open reinauer opened this issue 1 year ago • 0 comments

stepan@imhotep rigol-grab % pipenv install
Installing dependencies from Pipfile.lock (0e10d6)...
[pipenv.exceptions.InstallError]: Collecting cycler==0.10.0 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 1))
[pipenv.exceptions.InstallError]:   Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB)
[pipenv.exceptions.InstallError]: Collecting kiwisolver==1.1.0 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 2))
[pipenv.exceptions.InstallError]:   Using cached kiwisolver-1.1.0-cp311-cp311-macosx_14_0_arm64.whl
[pipenv.exceptions.InstallError]: Collecting matplotlib==3.1.1 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 3))
[pipenv.exceptions.InstallError]:   Using cached matplotlib-3.1.1-cp311-cp311-macosx_14_0_arm64.whl
[pipenv.exceptions.InstallError]: Collecting numpy==1.17.2 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 4))
[pipenv.exceptions.InstallError]:   Using cached numpy-1.17.2.zip (6.5 MB)
[pipenv.exceptions.InstallError]:   Preparing metadata (setup.py): started
[pipenv.exceptions.InstallError]:   Preparing metadata (setup.py): finished with status 'done'
[pipenv.exceptions.InstallError]: Collecting pyparsing==2.4.2 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 5))
[pipenv.exceptions.InstallError]:   Using cached pyparsing-2.4.2-py2.py3-none-any.whl (65 kB)
[pipenv.exceptions.InstallError]: Collecting python-dateutil==2.8.0 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 6))
[pipenv.exceptions.InstallError]:   Using cached python_dateutil-2.8.0-py2.py3-none-any.whl (226 kB)
[pipenv.exceptions.InstallError]: Collecting pyusb==1.0.2 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 7))
[pipenv.exceptions.InstallError]:   Using cached pyusb-1.0.2-py3-none-any.whl
[pipenv.exceptions.InstallError]: Collecting pyvisa==1.10.1 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 8))
[pipenv.exceptions.InstallError]:   Using cached PyVISA-1.10.1-py3-none-any.whl
[pipenv.exceptions.InstallError]: Collecting pyvisa-py==0.3.1 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 9))
[pipenv.exceptions.InstallError]:   Using cached PyVISA_py-0.3.1-py3-none-any.whl (45 kB)
[pipenv.exceptions.InstallError]: Collecting six==1.12.0 (from -r /var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pipenv-0m354e34-requirements/pipenv-9gnjujw7-hashed-reqs.txt (line 10))
[pipenv.exceptions.InstallError]:   Using cached six-1.12.0-py2.py3-none-any.whl (10 kB)
[pipenv.exceptions.InstallError]: Building wheels for collected packages: numpy
[pipenv.exceptions.InstallError]:   Building wheel for numpy (setup.py): started
[pipenv.exceptions.InstallError]:   Building wheel for numpy (setup.py): finished with status 'error'
[pipenv.exceptions.InstallError]:   Running setup.py clean for numpy
[pipenv.exceptions.InstallError]: Failed to build numpy
[pipenv.exceptions.InstallError]: error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   × python setup.py bdist_wheel did not run successfully.
[pipenv.exceptions.InstallError]:   │ exit code: 1
[pipenv.exceptions.InstallError]:   ╰─> [246 lines of output]
[pipenv.exceptions.InstallError]:       Running from numpy source directory.
[pipenv.exceptions.InstallError]:       blas_opt_info:
[pipenv.exceptions.InstallError]:       blas_mkl_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries mkl_rt not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       blis_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries blis not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       openblas_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries openblas not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_3_10_blas_threads_info:
[pipenv.exceptions.InstallError]:       Setting PTATLAS=ATLAS
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries tatlas not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_3_10_blas_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries satlas not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_blas_threads_info:
[pipenv.exceptions.InstallError]:       Setting PTATLAS=ATLAS
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries ptf77blas,ptcblas,atlas not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_blas_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries f77blas,cblas,atlas not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       accelerate_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries accelerate not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:       Library accelerate was not found. Ignoring
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries veclib not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:       Library veclib was not found. Ignoring
[pipenv.exceptions.InstallError]:         FOUND:
[pipenv.exceptions.InstallError]:           extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
[pipenv.exceptions.InstallError]:           extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
[pipenv.exceptions.InstallError]:           define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:         FOUND:
[pipenv.exceptions.InstallError]:           extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
[pipenv.exceptions.InstallError]:           extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
[pipenv.exceptions.InstallError]:           define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       /bin/sh: svnversion: command not found
[pipenv.exceptions.InstallError]:       non-existing path in 'numpy/distutils': 'site.cfg'
[pipenv.exceptions.InstallError]:       lapack_opt_info:
[pipenv.exceptions.InstallError]:       lapack_mkl_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries mkl_rt not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       openblas_lapack_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries openblas not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       openblas_clapack_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries openblas,lapack not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       flame_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries flame not found in ['/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib', '/usr/lib']
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_3_10_threads_info:
[pipenv.exceptions.InstallError]:       Setting PTATLAS=ATLAS
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries tatlas,tatlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries tatlas,tatlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_3_10_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries satlas,satlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries satlas,satlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       <class 'numpy.distutils.system_info.atlas_3_10_info'>
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_threads_info:
[pipenv.exceptions.InstallError]:       Setting PTATLAS=ATLAS
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries ptf77blas,ptcblas,atlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries ptf77blas,ptcblas,atlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       <class 'numpy.distutils.system_info.atlas_threads_info'>
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       atlas_info:
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries f77blas,cblas,atlas not found in /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries lapack_atlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       customize UnixCCompiler
[pipenv.exceptions.InstallError]:         libraries f77blas,cblas,atlas not found in /usr/lib
[pipenv.exceptions.InstallError]:       <class 'numpy.distutils.system_info.atlas_info'>
[pipenv.exceptions.InstallError]:         NOT AVAILABLE
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:         FOUND:
[pipenv.exceptions.InstallError]:           extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
[pipenv.exceptions.InstallError]:           extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
[pipenv.exceptions.InstallError]:           define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       non-existing path in 'numpy/random': 'src/splitmix64/splitmix.h'
[pipenv.exceptions.InstallError]:       /Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'define_macros'
[pipenv.exceptions.InstallError]:         warnings.warn(msg)
[pipenv.exceptions.InstallError]:       running bdist_wheel
[pipenv.exceptions.InstallError]:       running build
[pipenv.exceptions.InstallError]:       running config_cc
[pipenv.exceptions.InstallError]:       unifing config_cc, config, build_clib, build_ext, build commands --compiler options
[pipenv.exceptions.InstallError]:       running config_fc
[pipenv.exceptions.InstallError]:       unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
[pipenv.exceptions.InstallError]:       running build_src
[pipenv.exceptions.InstallError]:       build_src
[pipenv.exceptions.InstallError]:       building py_modules sources
[pipenv.exceptions.InstallError]:       creating build
[pipenv.exceptions.InstallError]:       creating build/src.macosx-14-arm64-3.1
[pipenv.exceptions.InstallError]:       creating build/src.macosx-14-arm64-3.1/numpy
[pipenv.exceptions.InstallError]:       creating build/src.macosx-14-arm64-3.1/numpy/distutils
[pipenv.exceptions.InstallError]:       building library "npymath" sources
[pipenv.exceptions.InstallError]:       get_default_fcompiler: matching types: '['gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']'
[pipenv.exceptions.InstallError]:       customize Gnu95FCompiler
[pipenv.exceptions.InstallError]:       Found executable /opt/homebrew/bin/gfortran
[pipenv.exceptions.InstallError]:       Traceback (most recent call last):
[pipenv.exceptions.InstallError]:         File "<string>", line 2, in <module>
[pipenv.exceptions.InstallError]:         File "<pip-setuptools-caller>", line 34, in <module>
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/setup.py", line 443, in <module>
[pipenv.exceptions.InstallError]:           setup_package()
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/setup.py", line 435, in setup_package
[pipenv.exceptions.InstallError]:           setup(**metadata)
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/core.py", line 171, in setup
[pipenv.exceptions.InstallError]:           return old_setup(**new_attr)
[pipenv.exceptions.InstallError]:                  ^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
[pipenv.exceptions.InstallError]:           return distutils.core.setup(**attrs)
[pipenv.exceptions.InstallError]:                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
[pipenv.exceptions.InstallError]:           return run_commands(dist)
[pipenv.exceptions.InstallError]:                  ^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
[pipenv.exceptions.InstallError]:           dist.run_commands()
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
[pipenv.exceptions.InstallError]:           self.run_command(cmd)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
[pipenv.exceptions.InstallError]:           super().run_command(command)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
[pipenv.exceptions.InstallError]:           cmd_obj.run()
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 368, in run
[pipenv.exceptions.InstallError]:           self.run_command("build")
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
[pipenv.exceptions.InstallError]:           self.distribution.run_command(command)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
[pipenv.exceptions.InstallError]:           super().run_command(command)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
[pipenv.exceptions.InstallError]:           cmd_obj.run()
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/command/build.py", line 47, in run
[pipenv.exceptions.InstallError]:           old_build.run(self)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
[pipenv.exceptions.InstallError]:           self.run_command(cmd_name)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
[pipenv.exceptions.InstallError]:           self.distribution.run_command(command)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
[pipenv.exceptions.InstallError]:           super().run_command(command)
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
[pipenv.exceptions.InstallError]:           cmd_obj.run()
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/command/build_src.py", line 142, in run
[pipenv.exceptions.InstallError]:           self.build_sources()
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/command/build_src.py", line 153, in build_sources
[pipenv.exceptions.InstallError]:           self.build_library_sources(*libname_info)
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/command/build_src.py", line 286, in build_library_sources
[pipenv.exceptions.InstallError]:           sources = self.generate_sources(sources, (lib_name, build_info))
[pipenv.exceptions.InstallError]:                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/command/build_src.py", line 369, in generate_sources
[pipenv.exceptions.InstallError]:           source = func(extension, build_dir)
[pipenv.exceptions.InstallError]:                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "numpy/core/setup.py", line 667, in get_mathlib_info
[pipenv.exceptions.InstallError]:           st = config_cmd.try_link('int main(void) { return 0;}')
[pipenv.exceptions.InstallError]:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/Users/stepan/.local/share/virtualenvs/rigol-grab-_-o4_bjo/lib/python3.11/site-packages/setuptools/_distutils/command/config.py", line 247, in try_link
[pipenv.exceptions.InstallError]:           self._check_compiler()
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/command/config.py", line 82, in _check_compiler
[pipenv.exceptions.InstallError]:           self.fcompiler = new_fcompiler(compiler=self.fcompiler,
[pipenv.exceptions.InstallError]:                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/__init__.py", line 884, in new_fcompiler
[pipenv.exceptions.InstallError]:           compiler = get_default_fcompiler(plat, requiref90=requiref90,
[pipenv.exceptions.InstallError]:                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/__init__.py", line 855, in get_default_fcompiler
[pipenv.exceptions.InstallError]:           compiler_type =  _find_existing_fcompiler(matching_compiler_types,
[pipenv.exceptions.InstallError]:                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/__init__.py", line 806, in _find_existing_fcompiler
[pipenv.exceptions.InstallError]:           c.customize(dist)
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/__init__.py", line 530, in customize
[pipenv.exceptions.InstallError]:           linker_so_flags = self.flag_vars.linker_so
[pipenv.exceptions.InstallError]:                             ^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/environment.py", line 40, in __getattr__
[pipenv.exceptions.InstallError]:           return self._get_var(name, conf_desc)
[pipenv.exceptions.InstallError]:                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/environment.py", line 56, in _get_var
[pipenv.exceptions.InstallError]:           var = self._hook_handler(name, hook)
[pipenv.exceptions.InstallError]:                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/__init__.py", line 709, in _environment_hook
[pipenv.exceptions.InstallError]:           return hook()
[pipenv.exceptions.InstallError]:                  ^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/gnu.py", line 353, in get_flags_linker_so
[pipenv.exceptions.InstallError]:           flags = GnuFCompiler.get_flags_linker_so(self)
[pipenv.exceptions.InstallError]:                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "/private/var/folders/ng/kbbx860d3m792v60ptd52r2h0000gn/T/pip-install-kcd2prg3/numpy_18682d28925e48ed8e005e4a1f8bbdc7/numpy/distutils/fcompiler/gnu.py", line 144, in get_flags_linker_so
[pipenv.exceptions.InstallError]:           os.environ['MACOSX_DEPLOYMENT_TARGET'] = target
[pipenv.exceptions.InstallError]:           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[pipenv.exceptions.InstallError]:         File "<frozen os>", line 684, in __setitem__
[pipenv.exceptions.InstallError]:         File "<frozen os>", line 758, in encode
[pipenv.exceptions.InstallError]:       TypeError: str expected, not int
[pipenv.exceptions.InstallError]:       [end of output]
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]:   ERROR: Failed building wheel for numpy
[pipenv.exceptions.InstallError]:   error: subprocess-exited-with-error
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   × python setup.py clean did not run successfully.
[pipenv.exceptions.InstallError]:   │ exit code: 1
[pipenv.exceptions.InstallError]:   ╰─> [10 lines of output]
[pipenv.exceptions.InstallError]:       Running from numpy source directory.
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       `setup.py clean` is not supported, use one of the following instead:
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:         - `git clean -xdf` (cleans all files)
[pipenv.exceptions.InstallError]:         - `git clean -Xdf` (cleans all versioned files, doesn't touch
[pipenv.exceptions.InstallError]:                             files that aren't checked into the git repo)
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       Add `--force` to your command to use it anyway if you must (unsupported).
[pipenv.exceptions.InstallError]:       
[pipenv.exceptions.InstallError]:       [end of output]
[pipenv.exceptions.InstallError]:   
[pipenv.exceptions.InstallError]:   note: This error originates from a subprocess, and is likely not a problem with pip.
[pipenv.exceptions.InstallError]:   ERROR: Failed cleaning build dir for numpy
[pipenv.exceptions.InstallError]: ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects
ERROR: Couldn't install package: {}
 Package installation failed...
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 85469 is still running
  _warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=5 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback
sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name=8 encoding='utf-8'>
ResourceWarning: Enable tracemalloc to get the object allocation traceback

reinauer avatar Feb 16 '24 06:02 reinauer