vastlik / symformer

29 stars 8 forks source link

Problems during the pip install requirements.txt #2

Open andereles opened 1 year ago

andereles commented 1 year ago

Collecting absl-py==0.15.0 (from -r requirements.txt (line 1)) Downloading absl_py-0.15.0-py3-none-any.whl (132 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.0/132.0 kB 7.6 MB/s eta 0:00:00 Collecting aclick==0.2.0 (from -r requirements.txt (line 2)) Downloading aclick-0.2.0-py3-none-any.whl (26 kB) Collecting astunparse==1.6.3 (from -r requirements.txt (line 3)) Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB) Collecting cachetools==4.2.4 (from -r requirements.txt (line 4)) Downloading cachetools-4.2.4-py3-none-any.whl (10 kB) Collecting certifi==2021.10.8 (from -r requirements.txt (line 5)) Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.2/149.2 kB 8.7 MB/s eta 0:00:00 Collecting charset-normalizer==2.0.7 (from -r requirements.txt (line 6)) Downloading charset_normalizer-2.0.7-py3-none-any.whl (38 kB) Collecting clang==5.0 (from -r requirements.txt (line 7)) Downloading clang-5.0.tar.gz (30 kB) Preparing metadata (setup.py) ... done Collecting click==8.0.3 (from -r requirements.txt (line 8)) Downloading click-8.0.3-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 kB 5.5 MB/s eta 0:00:00 Collecting colorama==0.4.4 (from -r requirements.txt (line 9)) Downloading colorama-0.4.4-py2.py3-none-any.whl (16 kB) Collecting configparser==5.1.0 (from -r requirements.txt (line 10)) Downloading configparser-5.1.0-py3-none-any.whl (19 kB) Requirement already satisfied: cycler==0.11.0 in c:\users\anderson\anaconda3\lib\site-packages (from -r requirements.txt (line 11)) (0.11.0) Collecting Cython==0.29.28 (from -r requirements.txt (line 12)) Downloading Cython-0.29.28-py2.py3-none-any.whl (983 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 983.8/983.8 kB 20.7 MB/s eta 0:00:00 Collecting dill==0.3.4 (from -r requirements.txt (line 13)) Downloading dill-0.3.4-py2.py3-none-any.whl (86 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.9/86.9 kB ? eta 0:00:00 Collecting dm-tree==0.1.6 (from -r requirements.txt (line 14)) Downloading dm-tree-0.1.6.tar.gz (33 kB) Preparing metadata (setup.py) ... done Collecting docker-pycreds==0.4.0 (from -r requirements.txt (line 15)) Downloading docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB) Collecting flatbuffers==1.12 (from -r requirements.txt (line 16)) Downloading flatbuffers-1.12-py2.py3-none-any.whl (15 kB) Collecting fonttools==4.29.0 (from -r requirements.txt (line 17)) Downloading fonttools-4.29.0-py3-none-any.whl (895 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 895.0/895.0 kB 18.8 MB/s eta 0:00:00 Collecting gast==0.4.0 (from -r requirements.txt (line 18)) Using cached gast-0.4.0-py3-none-any.whl (9.8 kB) Collecting gin-config==0.5.0 (from -r requirements.txt (line 19)) Downloading gin_config-0.5.0-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.3/61.3 kB ? eta 0:00:00 Collecting gitdb==4.0.9 (from -r requirements.txt (line 20)) Downloading gitdb-4.0.9-py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 kB ? eta 0:00:00 Collecting GitPython==3.1.24 (from -r requirements.txt (line 21)) Downloading GitPython-3.1.24-py3-none-any.whl (180 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 180.1/180.1 kB 11.3 MB/s eta 0:00:00 Collecting google-api-core==2.7.1 (from -r requirements.txt (line 22)) Downloading google_api_core-2.7.1-py3-none-any.whl (114 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.7/114.7 kB 6.5 MB/s eta 0:00:00 Collecting google-api-python-client==2.42.0 (from -r requirements.txt (line 23)) Downloading google_api_python_client-2.42.0-py2.py3-none-any.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 15.2 MB/s eta 0:00:00 Collecting google-auth==2.3.0 (from -r requirements.txt (line 24)) Downloading google_auth-2.3.0-py2.py3-none-any.whl (154 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 154.1/154.1 kB ? eta 0:00:00 Collecting google-auth-httplib2==0.1.0 (from -r requirements.txt (line 25)) Downloading google_auth_httplib2-0.1.0-py2.py3-none-any.whl (9.3 kB) Collecting google-auth-oauthlib==0.4.6 (from -r requirements.txt (line 26)) Using cached google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB) Collecting google-pasta==0.2.0 (from -r requirements.txt (line 27)) Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB) Collecting googleapis-common-protos==1.56.0 (from -r requirements.txt (line 28)) Downloading googleapis_common_protos-1.56.0-py2.py3-none-any.whl (241 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 241.5/241.5 kB 5.0 MB/s eta 0:00:00 Collecting grpcio==1.41.0 (from -r requirements.txt (line 29)) Downloading grpcio-1.41.0.tar.gz (21.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.2/21.2 MB 8.5 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting h5py==3.1.0 (from -r requirements.txt (line 30)) Downloading h5py-3.1.0.tar.gz (371 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 371.4/371.4 kB 24.1 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> [230 lines of output] Collecting Cython>=0.29.14 Using cached Cython-3.0.5-cp311-cp311-win_amd64.whl (2.8 MB) Collecting numpy==1.19.3 Downloading numpy-1.19.3.zip (7.3 MB) ---------------------------------------- 7.3/7.3 MB 12.0 MB/s eta 0:00:00 Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error

    Preparing metadata (pyproject.toml) did not run successfully.
    exit code: 1

    [202 lines of output]
    setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.11.
      warnings.warn(
    Running from numpy source directory.
    setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      run_build = parse_setuppy_commands()
    Processing numpy/random\_bounded_integers.pxd.in
    Processing numpy/random\bit_generator.pyx
    Processing numpy/random\mtrand.pyx
    Processing numpy/random\_bounded_integers.pyx.in
    Processing numpy/random\_common.pyx
    Processing numpy/random\_generator.pyx
    Processing numpy/random\_mt19937.pyx
    Processing numpy/random\_pcg64.pyx
    Processing numpy/random\_philox.pyx
    Processing numpy/random\_sfc64.pyx
    Cythonizing sources
    blas_opt_info:
    blas_mkl_info:
    No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
    customize MSVCCompiler
      libraries mkl_rt not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']     
      NOT AVAILABLE

    blis_info:
      libraries blis not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']       
      NOT AVAILABLE

    openblas_info:
      libraries openblas not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']   
    get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
    customize GnuFCompiler
    Could not locate executable g77
    Could not locate executable f77
    customize IntelVisualFCompiler
    Could not locate executable ifort
    Could not locate executable ifl
    customize AbsoftFCompiler
    Could not locate executable f90
    customize CompaqVisualFCompiler
    Could not locate executable DF
    customize IntelItaniumVisualFCompiler
    Could not locate executable efl
    customize Gnu95FCompiler
    Could not locate executable gfortran
    Could not locate executable f95
    customize G95FCompiler
    Could not locate executable g95
    customize IntelEM64VisualFCompiler
    customize IntelEM64TFCompiler
    Could not locate executable efort
    Could not locate executable efc
    customize PGroupFlangCompiler
    Could not locate executable flang
    don't know how to compile Fortran code on platform 'nt'
      NOT AVAILABLE

    atlas_3_10_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries tatlas not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']     
      NOT AVAILABLE

    atlas_3_10_blas_info:
      libraries satlas not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']     
      NOT AVAILABLE

    atlas_blas_threads_info:
    Setting PTATLAS=ATLAS
      libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']
      NOT AVAILABLE

    atlas_blas_info:
      libraries f77blas,cblas,atlas not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']
      NOT AVAILABLE

    accelerate_info:
      NOT AVAILABLE

    C:\Users\Anderson\AppData\Local\Temp\pip-install-7gafhb1r\numpy_16d64a1edadd4ce6bba6e4c6f2caef3b\numpy\distutils\system_info.py:1914: UserWarning:
        Optimized (vendor) Blas libraries are not found.
        Falls back to netlib Blas library which has worse performance.
        A better performance should be easily gained by switching
        Blas library.
      if self._calc_info(blas):
    blas_info:
      libraries blas not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']       
      NOT AVAILABLE

    C:\Users\Anderson\AppData\Local\Temp\pip-install-7gafhb1r\numpy_16d64a1edadd4ce6bba6e4c6f2caef3b\numpy\distutils\system_info.py:1914: UserWarning:
        Blas (http://www.netlib.org/blas/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [blas]) or by setting
        the BLAS environment variable.
      if self._calc_info(blas):
    blas_src_info:
      NOT AVAILABLE

    C:\Users\Anderson\AppData\Local\Temp\pip-install-7gafhb1r\numpy_16d64a1edadd4ce6bba6e4c6f2caef3b\numpy\distutils\system_info.py:1914: UserWarning:
        Blas (http://www.netlib.org/blas/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [blas_src]) or by setting
        the BLAS_SRC environment variable.
      if self._calc_info(blas):
      NOT AVAILABLE

    non-existing path in 'numpy\\distutils': 'site.cfg'
    lapack_opt_info:
    lapack_mkl_info:
      libraries mkl_rt not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']     
      NOT AVAILABLE

    openblas_lapack_info:
      libraries openblas not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']   
      NOT AVAILABLE

    openblas_clapack_info:
      libraries openblas,lapack not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']
      NOT AVAILABLE

    flame_info:
      libraries flame not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']
      NOT AVAILABLE

    atlas_3_10_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\lib
      libraries tatlas,tatlas not found in C:\Users\Anderson\anaconda3\lib
      libraries lapack_atlas not found in C:\
      libraries tatlas,tatlas not found in C:\
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\libs
      libraries tatlas,tatlas not found in C:\Users\Anderson\anaconda3\libs
    <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
      NOT AVAILABLE

    atlas_3_10_info:
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\lib
      libraries satlas,satlas not found in C:\Users\Anderson\anaconda3\lib
      libraries lapack_atlas not found in C:\
      libraries satlas,satlas not found in C:\
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\libs
      libraries satlas,satlas not found in C:\Users\Anderson\anaconda3\libs
    <class 'numpy.distutils.system_info.atlas_3_10_info'>
      NOT AVAILABLE

    atlas_threads_info:
    Setting PTATLAS=ATLAS
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\lib
      libraries ptf77blas,ptcblas,atlas not found in C:\Users\Anderson\anaconda3\lib
      libraries lapack_atlas not found in C:\
      libraries ptf77blas,ptcblas,atlas not found in C:\
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\libs
      libraries ptf77blas,ptcblas,atlas not found in C:\Users\Anderson\anaconda3\libs
    <class 'numpy.distutils.system_info.atlas_threads_info'>
      NOT AVAILABLE

    atlas_info:
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\lib
      libraries f77blas,cblas,atlas not found in C:\Users\Anderson\anaconda3\lib
      libraries lapack_atlas not found in C:\
      libraries f77blas,cblas,atlas not found in C:\
      libraries lapack_atlas not found in C:\Users\Anderson\anaconda3\libs
      libraries f77blas,cblas,atlas not found in C:\Users\Anderson\anaconda3\libs
    <class 'numpy.distutils.system_info.atlas_info'>
      NOT AVAILABLE

    lapack_info:
      libraries lapack not found in ['C:\\Users\\Anderson\\anaconda3\\lib', 'C:\\', 'C:\\Users\\Anderson\\anaconda3\\libs']     
      NOT AVAILABLE

    C:\Users\Anderson\AppData\Local\Temp\pip-install-7gafhb1r\numpy_16d64a1edadd4ce6bba6e4c6f2caef3b\numpy\distutils\system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) libraries not found.
        Directories to search for the libraries can be specified in the
        numpy/distutils/site.cfg file (section [lapack]) or by setting
        the LAPACK environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
    lapack_src_info:
      NOT AVAILABLE

    C:\Users\Anderson\AppData\Local\Temp\pip-install-7gafhb1r\numpy_16d64a1edadd4ce6bba6e4c6f2caef3b\numpy\distutils\system_info.py:1748: UserWarning:
        Lapack (http://www.netlib.org/lapack/) sources not found.
        Directories to search for the sources can be specified in the
        numpy/distutils/site.cfg file (section [lapack_src]) or by setting
        the LAPACK_SRC environment variable.
      return getattr(self, '_calc_info_{}'.format(name))()
      NOT AVAILABLE

    numpy_linalg_lapack_lite:
      FOUND:
        language = c
        define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]

    C:\Users\Anderson\AppData\Local\Temp\pip-build-env-72dqcie0\overlay\Lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
      warnings.warn(msg)
    running dist_info
    running build_src
    build_src
    building py_modules sources
    creating build
    creating build\src.win-amd64-3.11
    creating build\src.win-amd64-3.11\numpy
    creating build\src.win-amd64-3.11\numpy\distutils
    building library "npymath" sources
    error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
    [end of output]

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

  Encountered error while generating package metadata.

  See above for output.

  note: This is an issue with the package mentioned above, not pip.
  hint: See above for details.
  [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 backend 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.

vastlik commented 1 year ago

I think the issue is either with Python 3.11. or you need to install Microsoft Visual C++ 14.0 https://stackoverflow.com/questions/62065661/cant-install-numpy-ms-visual-c-14-1-is-required-but-it-is-installed