Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation: VaniDL pip installation failing #5

Open
karanveersingh5623 opened this issue Aug 19, 2022 · 0 comments
Open

Installation: VaniDL pip installation failing #5

karanveersingh5623 opened this issue Aug 19, 2022 · 0 comments

Comments

@karanveersingh5623
Copy link

@hariharan-devarajan , below is the trace when trying to compile VaniDL using PIP , setup.py also shows up almost the same trace

VaniDL) C:\Users\devcloud\Desktop\ML\DLIO>pip install vanidl
Collecting vanidl
  Using cached vanidl-0.0.8-py3-none-any.whl (18 kB)
Collecting numpy==1.19.0
  Using cached numpy-1.19.0.zip (7.3 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [211 lines of output]
      Running from numpy source directory.
      <string>:460: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      C:\Users\devcloud\AppData\Local\Temp\pip-install-qf612mbi\numpy_9039ca76b45141778020ba9145b0ea5b\tools\cythonize.py:73: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        required_version = LooseVersion('0.29.14')
      C:\Users\devcloud\AppData\Local\Temp\pip-install-qf612mbi\numpy_9039ca76b45141778020ba9145b0ea5b\tools\cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        if LooseVersion(cython_version) < required_version:
      Processing numpy/random\_[bounded_integers.pxd.in](http://bounded_integers.pxd.in/)
      Processing numpy/random\bit_generator.pyx
      Processing numpy/random\mtrand.pyx
      Processing numpy/random\_[bounded_integers.pyx.in](http://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\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
[2:56](https://collabnix.slack.com/archives/D03TFBYFLUX/p1660802176552809)
blis_info:
        libraries blis not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      openblas_info:
        libraries openblas not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
      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
      Found executable C:\Users\devcloud\anaconda3\envs\VaniDL\Library\usr\bin\DF.exe
      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\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      atlas_3_10_blas_info:
        libraries satlas not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      atlas_blas_threads_info:
      Setting PTATLAS=ATLAS
        libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      atlas_blas_info:
        libraries f77blas,cblas,atlas not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      accelerate_info:
        NOT AVAILABLE
      C:\Users\devcloud\AppData\Local\Temp\pip-install-qf612mbi\numpy_9039ca76b45141778020ba9145b0ea5b\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\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      C:\Users\devcloud\AppData\Local\Temp\pip-install-qf612mbi\numpy_9039ca76b45141778020ba9145b0ea5b\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\devcloud\AppData\Local\Temp\pip-install-qf612mbi\numpy_9039ca76b45141778020ba9145b0ea5b\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\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      openblas_lapack_info:
        libraries openblas not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      openblas_clapack_info:
        libraries openblas,lapack not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      flame_info:
        libraries flame not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      atlas_3_10_threads_info:
      Setting PTATLAS=ATLAS
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\lib
        libraries tatlas,tatlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\lib
        libraries lapack_atlas not found in C:\
        libraries tatlas,tatlas not found in C:\
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries tatlas,tatlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\Library\lib
        libraries tatlas,tatlas not found in C:\Users\devcloud\anaconda3\Library\lib
      <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
        NOT AVAILABLE
      atlas_3_10_info:
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\lib
        libraries satlas,satlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\lib
        libraries lapack_atlas not found in C:\
        libraries satlas,satlas not found in C:\
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries satlas,satlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\Library\lib
        libraries satlas,satlas not found in C:\Users\devcloud\anaconda3\Library\lib
      <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\devcloud\anaconda3\envs\VaniDL\lib
        libraries ptf77blas,ptcblas,atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\lib
        libraries lapack_atlas not found in C:\
        libraries ptf77blas,ptcblas,atlas not found in C:\
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries ptf77blas,ptcblas,atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\Library\lib
        libraries ptf77blas,ptcblas,atlas not found in C:\Users\devcloud\anaconda3\Library\lib
      <class 'numpy.distutils.system_info.atlas_threads_info'>
        NOT AVAILABLE
      atlas_info:
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\lib
        libraries f77blas,cblas,atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\lib
        libraries lapack_atlas not found in C:\
        libraries f77blas,cblas,atlas not found in C:\
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries f77blas,cblas,atlas not found in C:\Users\devcloud\anaconda3\envs\VaniDL\libs
        libraries lapack_atlas not found in C:\Users\devcloud\anaconda3\Library\lib
        libraries f77blas,cblas,atlas not found in C:\Users\devcloud\anaconda3\Library\lib
      <class 'numpy.distutils.system_info.atlas_info'>
        NOT AVAILABLE
      lapack_info:
        libraries lapack not found in ['C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\lib', 'C:\\', 'C:\\Users\\devcloud\\anaconda3\\envs\\VaniDL\\libs', 'C:\\Users\\devcloud\\anaconda3\\Library\\lib']
        NOT AVAILABLE
      C:\Users\devcloud\AppData\Local\Temp\pip-install-qf612mbi\numpy_9039ca76b45141778020ba9145b0ea5b\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\devcloud\AppData\Local\Temp\pip-install-qf612mbi\numpy_9039ca76b45141778020ba9145b0ea5b\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\devcloud\AppData\Local\Temp\pip-build-env-aji24tx2\overlay\Lib\site-packages\setuptools\_distutils\dist.py:262: 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.10
      creating build\src.win-amd64-3.10\numpy
      creating build\src.win-amd64-3.10\numpy\distutils
      building library "npymath" sources
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant