chychkan / DeepFaceLab_MacOS

Run DeepFaceLab on MacOS
GNU General Public License v3.0
258 stars 60 forks source link

scipy build error #5

Closed acheong08 closed 3 years ago

acheong08 commented 3 years ago

$ pip install -r requirements.txt Collecting numpy==1.17.0 Using cached numpy-1.17.0.zip (6.5 MB) Requirement already satisfied: opencv-python==4.5.1.48 in ./.dfl/env/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (4.5.1.48) Collecting scipy==1.4.1 Downloading scipy-1.4.1.tar.gz (24.6 MB) |████████████████████████████████| 24.6 MB 19.3 MB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... error ERROR: Command errored out with exit status 1: command: /Users/ac/DeepFaceLab_MacOS/.dfl/env/bin/python /Users/ac/DeepFaceLab_MacOS/.dfl/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/tmp_xjlxy6d cwd: /private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-install-1ip2yrrm/scipy_15d1f63b55f442c3ae0e880f856948ce Complete output (139 lines): setup.py:418: UserWarning: Unrecognized setuptools command ('dist_info --egg-base /private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-modern-metadata-qkd8pxza'), proceeding with generating Cython sources and expanding templates warnings.warn("Unrecognized setuptools command ('{}'), proceeding with " Running from scipy source directory. lapack_opt_info: lapack_mkl_info: customize UnixCCompiler libraries mkl_rt not found in ['/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib', '/usr/local/lib', '/usr/lib'] NOT AVAILABLE

openblas_lapack_info:
customize UnixCCompiler
customize UnixCCompiler
  libraries openblas not found in ['/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib', '/usr/local/lib', '/usr/lib']
  NOT AVAILABLE

openblas_clapack_info:
customize UnixCCompiler
customize UnixCCompiler
  libraries openblas,lapack not found in ['/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib', '/usr/local/lib', '/usr/lib']
  NOT AVAILABLE

flame_info:
customize UnixCCompiler
  libraries flame not found in ['/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib', '/usr/local/lib', '/usr/lib']
  NOT AVAILABLE

atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
customize UnixCCompiler
  libraries lapack_atlas not found in /Users/ac/DeepFaceLab_MacOS/.dfl/env/lib
customize UnixCCompiler
  libraries tatlas,tatlas not found in /Users/ac/DeepFaceLab_MacOS/.dfl/env/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 /Users/ac/DeepFaceLab_MacOS/.dfl/env/lib
customize UnixCCompiler
  libraries satlas,satlas not found in /Users/ac/DeepFaceLab_MacOS/.dfl/env/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 /Users/ac/DeepFaceLab_MacOS/.dfl/env/lib
customize UnixCCompiler
  libraries ptf77blas,ptcblas,atlas not found in /Users/ac/DeepFaceLab_MacOS/.dfl/env/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 /Users/ac/DeepFaceLab_MacOS/.dfl/env/lib
customize UnixCCompiler
  libraries f77blas,cblas,atlas not found in /Users/ac/DeepFaceLab_MacOS/.dfl/env/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

accelerate_info:
  NOT AVAILABLE

lapack_info:
customize UnixCCompiler
  libraries lapack not found in ['/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib', '/usr/local/lib', '/usr/lib']
  NOT AVAILABLE

/private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-build-env-kfmg90mc/overlay/lib/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
    Lapack (http://www.netlib.org/lapack/) libraries not found.
    Directories to search for the libraries can be specified in the
    numpy/distutils/site.cfg file (section [lapack]) or by setting
    the LAPACK environment variable.
  if getattr(self, '_calc_info_{}'.format(lapack))():
lapack_src_info:
  NOT AVAILABLE

/private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-build-env-kfmg90mc/overlay/lib/python3.9/site-packages/numpy/distutils/system_info.py:1712: UserWarning:
    Lapack (http://www.netlib.org/lapack/) sources not found.
    Directories to search for the sources can be specified in the
    numpy/distutils/site.cfg file (section [lapack_src]) or by setting
    the LAPACK_SRC environment variable.
  if getattr(self, '_calc_info_{}'.format(lapack))():
  NOT AVAILABLE

Traceback (most recent call last):
  File "/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
    main()
  File "/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
  File "/Users/ac/DeepFaceLab_MacOS/.dfl/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 133, in prepare_metadata_for_build_wheel
    return hook(metadata_directory, config_settings)
  File "/private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-build-env-kfmg90mc/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 161, in prepare_metadata_for_build_wheel
    self.run_setup()
  File "/private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-build-env-kfmg90mc/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 253, in run_setup
    super(_BuildMetaLegacyBackend,
  File "/private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-build-env-kfmg90mc/overlay/lib/python3.9/site-packages/setuptools/build_meta.py", line 145, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 540, in <module>
    setup_package()
  File "setup.py", line 536, in setup_package
    setup(**metadata)
  File "/private/var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/pip-build-env-kfmg90mc/overlay/lib/python3.9/site-packages/numpy/distutils/core.py", line 137, in setup
    config = configuration()
  File "setup.py", line 435, in configuration
    raise NotFoundError(msg)
numpy.distutils.system_info.NotFoundError: No lapack/blas resources found. Note: Accelerate is no longer supported.
----------------------------------------

WARNING: Discarding https://files.pythonhosted.org/packages/04/ab/e2eb3e3f90b9363040a3d885ccc5c79fe20c5b8a3caa8fe3bf47ff653260/scipy-1.4.1.tar.gz#sha256=dee1bbf3a6c8f73b6b218cb28eed8dd13347ea2f87d572ce19b289d6fd3fbc59 (from https://pypi.org/simple/scipy/) (requires-python:>=3.5). Command errored out with exit status 1: /Users/ac/DeepFaceLab_MacOS/.dfl/env/bin/python /Users/ac/DeepFaceLab_MacOS/.dfl/env/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /var/folders/xh/y_51j75s3xb5_w4j79jmkgz80000gn/T/tmp_xjlxy6d Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement scipy==1.4.1 ERROR: No matching distribution found for scipy==1.4.1