Created
July 12, 2022 18:45
-
-
Save mithi/2ac58060dcbac9db4cc65ac6ab9fde8c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(env_tensorflow) ➜ portal python3.8 -m pip install datature-hub==0.2.0 | |
Collecting datature-hub==0.2.0 | |
Using cached datature_hub-0.2.0-py3-none-any.whl (9.4 kB) | |
Collecting opencv-python==4.5.1.48 | |
Using cached opencv-python-4.5.1.48.tar.gz (88.3 MB) | |
Installing build dependencies ... error | |
error: subprocess-exited-with-error | |
× pip subprocess to install build dependencies did not run successfully. | |
│ exit code: 1 | |
╰─> [580 lines of output] | |
Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64"' don't match your environment | |
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "linux" and platform_machine == "aarch64"' don't match your environment | |
Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64"' don't match your environment | |
Ignoring numpy: markers 'python_version >= "3.9" and platform_machine != "aarch64"' don't match your environment | |
Collecting setuptools | |
Using cached setuptools-63.1.0-py3-none-any.whl (1.2 MB) | |
Collecting wheel | |
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB) | |
Collecting scikit-build | |
Using cached scikit_build-0.15.0-py2.py3-none-any.whl (77 kB) | |
Collecting cmake | |
Using cached cmake-3.22.5-py2.py3-none-macosx_10_10_universal2.macosx_10_10_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (75.2 MB) | |
Collecting pip | |
Using cached pip-22.1.2-py3-none-any.whl (2.1 MB) | |
Collecting numpy==1.17.3 | |
Using cached numpy-1.17.3.zip (6.4 MB) | |
Preparing metadata (setup.py): started | |
Preparing metadata (setup.py): finished with status 'done' | |
Collecting packaging | |
Using cached packaging-21.3-py3-none-any.whl (40 kB) | |
Collecting distro | |
Using cached distro-1.7.0-py3-none-any.whl (20 kB) | |
Collecting pyparsing!=3.0.5,>=2.0.2 | |
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB) | |
Building wheels for collected packages: numpy | |
Building wheel for numpy (setup.py): started | |
Building wheel for numpy (setup.py): finished with status 'error' | |
error: subprocess-exited-with-error | |
× python setup.py bdist_wheel did not run successfully. | |
│ exit code: 1 | |
╰─> [247 lines of output] | |
Running from numpy source directory. | |
blas_opt_info: | |
blas_mkl_info: | |
customize UnixCCompiler | |
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
blis_info: | |
customize UnixCCompiler | |
libraries blis not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
openblas_info: | |
customize UnixCCompiler | |
customize UnixCCompiler | |
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_3_10_blas_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries tatlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_3_10_blas_info: | |
customize UnixCCompiler | |
libraries satlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_blas_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_blas_info: | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
accelerate_info: | |
customize UnixCCompiler | |
libraries accelerate not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
Library accelerate was not found. Ignoring | |
customize UnixCCompiler | |
libraries veclib not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
Library veclib was not found. Ignoring | |
FOUND: | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)] | |
FOUND: | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)] | |
/bin/sh: svnversion: command not found | |
non-existing path in 'numpy/distutils': 'site.cfg' | |
lapack_opt_info: | |
lapack_mkl_info: | |
customize UnixCCompiler | |
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
openblas_lapack_info: | |
customize UnixCCompiler | |
customize UnixCCompiler | |
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
openblas_clapack_info: | |
customize UnixCCompiler | |
customize UnixCCompiler | |
libraries openblas,lapack not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
flame_info: | |
customize UnixCCompiler | |
libraries flame not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_3_10_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries tatlas,tatlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries tatlas,tatlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries tatlas,tatlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'> | |
NOT AVAILABLE | |
atlas_3_10_info: | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries satlas,satlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries satlas,satlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries satlas,satlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_3_10_info'> | |
NOT AVAILABLE | |
atlas_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_threads_info'> | |
NOT AVAILABLE | |
atlas_info: | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_info'> | |
NOT AVAILABLE | |
FOUND: | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)] | |
/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py:257: 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.macosx-11.0-arm64-3.8 | |
creating build/src.macosx-11.0-arm64-3.8/numpy | |
creating build/src.macosx-11.0-arm64-3.8/numpy/distutils | |
building library "npymath" sources | |
get_default_fcompiler: matching types: '['gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']' | |
customize Gnu95FCompiler | |
Could not locate executable gfortran | |
Could not locate executable f95 | |
customize NAGFCompiler | |
customize AbsoftFCompiler | |
Could not locate executable f90 | |
Could not locate executable f77 | |
customize IBMFCompiler | |
Could not locate executable xlf90 | |
Could not locate executable xlf | |
customize IntelFCompiler | |
Could not locate executable ifort | |
Could not locate executable ifc | |
customize GnuFCompiler | |
Could not locate executable g77 | |
customize G95FCompiler | |
Could not locate executable g95 | |
customize PGroupFCompiler | |
Could not locate executable pgfortran | |
don't know how to compile Fortran code on platform 'posix' | |
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/include -arch arm64 | |
compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/include/python3.8 -c' | |
clang: _configtest.c | |
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun | |
failure. | |
removing: _configtest.c _configtest.o | |
Traceback (most recent call last): | |
File "<string>", line 2, in <module> | |
File "<pip-setuptools-caller>", line 34, in <module> | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/setup.py", line 443, in <module> | |
setup_package() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/setup.py", line 435, in setup_package | |
setup(**metadata) | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/core.py", line 171, in setup | |
return old_setup(**new_attr) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup | |
return distutils.core.setup(**attrs) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 177, in setup | |
return run_commands(dist) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 193, in run_commands | |
dist.run_commands() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands | |
self.run_command(cmd) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command | |
super().run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command | |
cmd_obj.run() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 299, in run | |
self.run_command('build') | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command | |
super().run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command | |
cmd_obj.run() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build.py", line 47, in run | |
old_build.run(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run | |
self.run_command(cmd_name) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command | |
super().run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command | |
cmd_obj.run() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 142, in run | |
self.build_sources() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 153, in build_sources | |
self.build_library_sources(*libname_info) | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 286, in build_library_sources | |
sources = self.generate_sources(sources, (lib_name, build_info)) | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 369, in generate_sources | |
source = func(extension, build_dir) | |
File "numpy/core/setup.py", line 669, in get_mathlib_info | |
raise RuntimeError("Broken toolchain: cannot link a simple C program") | |
RuntimeError: Broken toolchain: cannot link a simple C program | |
[end of output] | |
note: This error originates from a subprocess, and is likely not a problem with pip. | |
ERROR: Failed building wheel for numpy | |
Running setup.py clean for numpy | |
error: subprocess-exited-with-error | |
× python setup.py clean did not run successfully. | |
│ exit code: 1 | |
╰─> [10 lines of output] | |
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). | |
[end of output] | |
note: This error originates from a subprocess, and is likely not a problem with pip. | |
ERROR: Failed cleaning build dir for numpy | |
Failed to build numpy | |
Installing collected packages: cmake, wheel, setuptools, pyparsing, pip, numpy, distro, packaging, scikit-build | |
Running setup.py install for numpy: started | |
Running setup.py install for numpy: finished with status 'error' | |
error: subprocess-exited-with-error | |
× Running setup.py install for numpy did not run successfully. | |
│ exit code: 1 | |
╰─> [258 lines of output] | |
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) | |
blas_opt_info: | |
blas_mkl_info: | |
customize UnixCCompiler | |
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
blis_info: | |
customize UnixCCompiler | |
libraries blis not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
openblas_info: | |
customize UnixCCompiler | |
customize UnixCCompiler | |
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_3_10_blas_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries tatlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_3_10_blas_info: | |
customize UnixCCompiler | |
libraries satlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_blas_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_blas_info: | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
accelerate_info: | |
customize UnixCCompiler | |
libraries accelerate not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
Library accelerate was not found. Ignoring | |
customize UnixCCompiler | |
libraries veclib not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
Library veclib was not found. Ignoring | |
FOUND: | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)] | |
FOUND: | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)] | |
/bin/sh: svnversion: command not found | |
non-existing path in 'numpy/distutils': 'site.cfg' | |
lapack_opt_info: | |
lapack_mkl_info: | |
customize UnixCCompiler | |
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
openblas_lapack_info: | |
customize UnixCCompiler | |
customize UnixCCompiler | |
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
openblas_clapack_info: | |
customize UnixCCompiler | |
customize UnixCCompiler | |
libraries openblas,lapack not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
flame_info: | |
customize UnixCCompiler | |
libraries flame not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib', '/usr/local/lib', '/usr/lib'] | |
NOT AVAILABLE | |
atlas_3_10_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries tatlas,tatlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries tatlas,tatlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries tatlas,tatlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'> | |
NOT AVAILABLE | |
atlas_3_10_info: | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries satlas,satlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries satlas,satlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries satlas,satlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_3_10_info'> | |
NOT AVAILABLE | |
atlas_threads_info: | |
Setting PTATLAS=ATLAS | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries ptf77blas,ptcblas,atlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_threads_info'> | |
NOT AVAILABLE | |
atlas_info: | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in /usr/local/lib | |
customize UnixCCompiler | |
libraries lapack_atlas not found in /usr/lib | |
customize UnixCCompiler | |
libraries f77blas,cblas,atlas not found in /usr/lib | |
<class 'numpy.distutils.system_info.atlas_info'> | |
NOT AVAILABLE | |
FOUND: | |
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers'] | |
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate'] | |
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)] | |
/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py:257: UserWarning: Unknown distribution option: 'define_macros' | |
warnings.warn(msg) | |
running install | |
/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
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 | |
get_default_fcompiler: matching types: '['gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']' | |
customize Gnu95FCompiler | |
Could not locate executable gfortran | |
Could not locate executable f95 | |
customize NAGFCompiler | |
customize AbsoftFCompiler | |
Could not locate executable f90 | |
Could not locate executable f77 | |
customize IBMFCompiler | |
Could not locate executable xlf90 | |
Could not locate executable xlf | |
customize IntelFCompiler | |
Could not locate executable ifort | |
Could not locate executable ifc | |
customize GnuFCompiler | |
Could not locate executable g77 | |
customize G95FCompiler | |
Could not locate executable g95 | |
customize PGroupFCompiler | |
Could not locate executable pgfortran | |
don't know how to compile Fortran code on platform 'posix' | |
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/include -arch arm64 | |
compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/include/python3.8 -c' | |
clang: _configtest.c | |
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun | |
failure. | |
removing: _configtest.c _configtest.o | |
Traceback (most recent call last): | |
File "<string>", line 2, in <module> | |
File "<pip-setuptools-caller>", line 34, in <module> | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/setup.py", line 443, in <module> | |
setup_package() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/setup.py", line 435, in setup_package | |
setup(**metadata) | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/core.py", line 171, in setup | |
return old_setup(**new_attr) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup | |
return distutils.core.setup(**attrs) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 177, in setup | |
return run_commands(dist) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 193, in run_commands | |
dist.run_commands() | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands | |
self.run_command(cmd) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command | |
super().run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command | |
cmd_obj.run() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/install.py", line 62, in run | |
r = self.setuptools_run() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/install.py", line 36, in setuptools_run | |
return distutils_install.run(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 695, in run | |
self.run_command('build') | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command | |
super().run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command | |
cmd_obj.run() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build.py", line 47, in run | |
old_build.run(self) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 131, in run | |
self.run_command(cmd_name) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 317, in run_command | |
self.distribution.run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/dist.py", line 1217, in run_command | |
super().run_command(command) | |
File "/opt/homebrew/Caskroom/miniforge/base/envs/env_tensorflow/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 987, in run_command | |
cmd_obj.run() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 142, in run | |
self.build_sources() | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 153, in build_sources | |
self.build_library_sources(*libname_info) | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 286, in build_library_sources | |
sources = self.generate_sources(sources, (lib_name, build_info)) | |
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-bf6dh4xb/numpy_4f8d6862c4dd4346bdd264ca2c135eb5/numpy/distutils/command/build_src.py", line 369, in generate_sources | |
source = func(extension, build_dir) | |
File "numpy/core/setup.py", line 669, in get_mathlib_info | |
raise RuntimeError("Broken toolchain: cannot link a simple C program") | |
RuntimeError: Broken toolchain: cannot link a simple C program | |
[end of output] | |
note: This error originates from a subprocess, and is likely not a problem with pip. | |
error: legacy-install-failure | |
× Encountered error while trying to install package. | |
╰─> numpy | |
note: This is an issue with the package mentioned above, not pip. | |
hint: See above for output from the failure. | |
[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. |
Author
mithi
commented
Jul 12, 2022
(myenv) ➜ portal python3.8 -m pip install opencv-python==4.5.1.48
Collecting opencv-python==4.5.1.48
Using cached opencv-python-4.5.1.48.tar.gz (88.3 MB)
Installing build dependencies ... error
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/Caskroom/miniforge/base/envs/myenv/bin/python3.8 /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-standalone-pip-_nqftlxx/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-build-env-qer7y029/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_machine != '"'"'aarch64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.6'"'"' and sys_platform == '"'"'linux'"'"' and platform_machine == '"'"'aarch64'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_machine != '"'"'aarch64'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_machine != '"'"'aarch64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"' and platform_machine != '"'"'aarch64'"'"''
cwd: None
Complete output (561 lines):
Ignoring numpy: markers 'python_version == "3.6" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.6" and sys_platform == "linux" and platform_machine == "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7" and platform_machine != "aarch64"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.9" and platform_machine != "aarch64"' don't match your environment
Collecting setuptools
Using cached setuptools-63.1.0-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting scikit-build
Using cached scikit_build-0.15.0-py2.py3-none-any.whl (77 kB)
Collecting cmake
Using cached cmake-3.22.5-py2.py3-none-macosx_10_10_universal2.macosx_10_10_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (75.2 MB)
Collecting pip
Using cached pip-22.1.2-py3-none-any.whl (2.1 MB)
Collecting numpy==1.17.3
Using cached numpy-1.17.3.zip (6.4 MB)
Collecting packaging
Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting distro
Using cached distro-1.7.0-py3-none-any.whl (20 kB)
Collecting pyparsing!=3.0.5,>=2.0.2
Using cached pyparsing-3.0.9-py3-none-any.whl (98 kB)
Building wheels for collected packages: numpy
Building wheel for numpy (setup.py): started
Building wheel for numpy (setup.py): finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/Caskroom/miniforge/base/envs/myenv/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"'; __file__='"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-wheel-l3pgchg4
cwd: /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/
Complete output (246 lines):
Running from numpy source directory.
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
blis_info:
customize UnixCCompiler
libraries blis not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries tatlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
customize UnixCCompiler
libraries satlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
customize UnixCCompiler
libraries accelerate not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
Library accelerate was not found. Ignoring
customize UnixCCompiler
libraries veclib not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
Library veclib was not found. Ignoring
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/bin/sh: svnversion: command not found
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas,lapack not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
customize UnixCCompiler
libraries flame not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries satlas,satlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py:275: 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.macosx-11.0-arm64-3.8
creating build/src.macosx-11.0-arm64-3.8/numpy
creating build/src.macosx-11.0-arm64-3.8/numpy/distutils
building library "npymath" sources
get_default_fcompiler: matching types: '['gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']'
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize NAGFCompiler
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PGroupFCompiler
Could not locate executable pgfortran
don't know how to compile Fortran code on platform 'posix'
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/myenv/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/myenv/include -arch arm64
compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/opt/homebrew/Caskroom/miniforge/base/envs/myenv/include/python3.8 -c'
clang: _configtest.c
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py", line 443, in <module>
setup_package()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py", line 435, in setup_package
setup(**metadata)
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/core.py", line 171, in setup
return old_setup(**new_attr)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 290, in run
self.run_command('build')
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build.py", line 47, in run
old_build.run(self)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 142, in run
self.build_sources()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 153, in build_sources
self.build_library_sources(*libname_info)
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 286, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 369, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 669, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/Caskroom/miniforge/base/envs/myenv/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"'; __file__='"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4
Complete output (10 lines):
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).
----------------------------------------
ERROR: Failed cleaning build dir for numpy
Failed to build numpy
Installing collected packages: pyparsing, wheel, setuptools, packaging, distro, scikit-build, pip, numpy, cmake
Running setup.py install for numpy: started
Running setup.py install for numpy: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /opt/homebrew/Caskroom/miniforge/base/envs/myenv/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"'; __file__='"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-record-i49pu6oq/install-record.txt --single-version-externally-managed --prefix /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-build-env-qer7y029/overlay --compile --install-headers /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-build-env-qer7y029/overlay/include/python3.8/numpy
cwd: /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/
Complete output (257 lines):
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)
blas_opt_info:
blas_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
blis_info:
customize UnixCCompiler
libraries blis not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries tatlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_blas_info:
customize UnixCCompiler
libraries satlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_blas_info:
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
accelerate_info:
customize UnixCCompiler
libraries accelerate not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
Library accelerate was not found. Ignoring
customize UnixCCompiler
libraries veclib not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
Library veclib was not found. Ignoring
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/bin/sh: svnversion: command not found
non-existing path in 'numpy/distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
customize UnixCCompiler
libraries mkl_rt not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
libraries openblas,lapack not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
flame_info:
customize UnixCCompiler
libraries flame not found in ['/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib', '/usr/local/lib', '/usr/lib']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries tatlas,tatlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries satlas,satlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries satlas,satlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries ptf77blas,ptcblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
customize UnixCCompiler
libraries lapack_atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/local/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/local/lib
customize UnixCCompiler
libraries lapack_atlas not found in /usr/lib
customize UnixCCompiler
libraries f77blas,cblas,atlas not found in /usr/lib
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
FOUND:
extra_compile_args = ['-faltivec', '-I/System/Library/Frameworks/vecLib.framework/Headers']
extra_link_args = ['-Wl,-framework', '-Wl,Accelerate']
define_macros = [('NO_ATLAS_INFO', 3), ('HAVE_CBLAS', None)]
/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running install
/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
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
get_default_fcompiler: matching types: '['gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg']'
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize NAGFCompiler
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize G95FCompiler
Could not locate executable g95
customize PGroupFCompiler
Could not locate executable pgfortran
don't know how to compile Fortran code on platform 'posix'
C compiler: clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/myenv/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniforge/base/envs/myenv/include -arch arm64
compile options: '-Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/opt/homebrew/Caskroom/miniforge/base/envs/myenv/include/python3.8 -c'
clang: _configtest.c
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
failure.
removing: _configtest.c _configtest.o
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py", line 443, in <module>
setup_package()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py", line 435, in setup_package
setup(**metadata)
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/core.py", line 171, in setup
return old_setup(**new_attr)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 148, in setup
return run_commands(dist)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
dist.run_commands()
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
self.run_command(cmd)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/install.py", line 62, in run
r = self.setuptools_run()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/install.py", line 36, in setuptools_run
return distutils_install.run(self)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 664, in run
self.run_command('build')
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build.py", line 47, in run
old_build.run(self)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/dist.py", line 1214, in run_command
super().run_command(command)
File "/opt/homebrew/Caskroom/miniforge/base/envs/myenv/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
cmd_obj.run()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 142, in run
self.build_sources()
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 153, in build_sources
self.build_library_sources(*libname_info)
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 286, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/numpy/distutils/command/build_src.py", line 369, in generate_sources
source = func(extension, build_dir)
File "numpy/core/setup.py", line 669, in get_mathlib_info
raise RuntimeError("Broken toolchain: cannot link a simple C program")
RuntimeError: Broken toolchain: cannot link a simple C program
----------------------------------------
ERROR: Command errored out with exit status 1: /opt/homebrew/Caskroom/miniforge/base/envs/myenv/bin/python3.8 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"'; __file__='"'"'/private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-install-1a7rqk40/numpy_956d1ad39dbc4abcafb188e491a762c4/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-record-i49pu6oq/install-record.txt --single-version-externally-managed --prefix /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-build-env-qer7y029/overlay --compile --install-headers /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-build-env-qer7y029/overlay/include/python3.8/numpy Check the logs for full command output.
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/bb/08/9dbc183a3ac6baa95fabf749ddb531bd26256edfff5b6c2195eca26258e9/opencv-python-4.5.1.48.tar.gz#sha256=78a6db8467639383caedf1d111da3510a4ee1a0aacf2117821cae2ee8f92ce37 (from https://pypi.org/simple/opencv-python/) (requires-python:>=3.6). Command errored out with exit status 1: /opt/homebrew/Caskroom/miniforge/base/envs/myenv/bin/python3.8 /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-standalone-pip-_nqftlxx/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /private/var/folders/0p/_22pc9kx0hgdp1cfhy9g74b80000gn/T/pip-build-env-qer7y029/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_machine != '"'"'aarch64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.6'"'"' and sys_platform == '"'"'linux'"'"' and platform_machine == '"'"'aarch64'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"' and platform_machine != '"'"'aarch64'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_machine != '"'"'aarch64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"' and platform_machine != '"'"'aarch64'"'"'' Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement opencv-python==4.5.1.48 (from versions: 3.4.0.14, 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66)
ERROR: No matching distribution found for opencv-python==4.5.1.48
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment