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

Not able to install requirements #5

Closed
kaustubh43 opened this issue Mar 29, 2023 · 2 comments
Closed

Not able to install requirements #5

kaustubh43 opened this issue Mar 29, 2023 · 2 comments

Comments

@kaustubh43
Copy link

$ pip install -r requirements.txt
Collecting certifi==2021.10.8
Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting charset-normalizer==2.0.12
Using cached charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting idna==3.3
Using cached idna-3.3-py3-none-any.whl (61 kB)
Collecting numpy==1.22.3
Using cached numpy-1.22.3.zip (11.5 MB)
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 'done'
Collecting Pillow==9.1.0
Using cached Pillow-9.1.0.tar.gz (49.8 MB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting requests==2.27.1
Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Requirement already satisfied: six==1.16.0 in c:\users\kaust\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 7)) (1.16.0)
Collecting urllib3==1.26.9
Using cached urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
Requirement already satisfied: youtube-dl==2021.12.17 in c:\users\kaust\appdata\local\programs\python\python311\lib\site-packages (from -r requirements.txt (line 9)) (2021.12.17)
Building wheels for collected packages: numpy
Building wheel for numpy (pyproject.toml): started
Building wheel for numpy (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error

Building wheel for numpy (pyproject.toml) did not run successfully.
exit code: 1

[203 lines of output]
setup.py:66: RuntimeWarning: NumPy 1.22.3 may not yet support Python 3.11.
warnings.warn(
Running from numpy source directory.
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
INFO: blas_opt_info:
INFO: blas_armpl_info:
INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
INFO: customize MSVCCompiler
INFO: libraries armpl_lp64_mp not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: blas_mkl_info:
INFO: libraries mkl_rt not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: blis_info:
INFO: libraries blis not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_info:
INFO: libraries openblas not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
INFO: customize GnuFCompiler
WARN: Could not locate executable g77
WARN: Could not locate executable f77
INFO: customize IntelVisualFCompiler
WARN: Could not locate executable ifort
WARN: Could not locate executable ifl
INFO: customize AbsoftFCompiler
WARN: Could not locate executable f90
INFO: customize CompaqVisualFCompiler
INFO: Found executable C:\Program Files\Git\usr\bin\DF.exe
WARN: Could not locate executable C:\Program
INFO: customize IntelItaniumVisualFCompiler
WARN: Could not locate executable efl
INFO: customize Gnu95FCompiler
WARN: Could not locate executable gfortran
WARN: Could not locate executable f95
INFO: customize G95FCompiler
WARN: Could not locate executable g95
INFO: customize IntelEM64VisualFCompiler
INFO: customize IntelEM64TFCompiler
WARN: Could not locate executable efort
WARN: Could not locate executable efc
INFO: customize PGroupFlangCompiler
WARN: Could not locate executable flang
WARN: don't know how to compile Fortran code on platform 'nt'
INFO: NOT AVAILABLE
INFO:
INFO: accelerate_info:
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_blas_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries tatlas not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_blas_info:
INFO: libraries satlas not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: atlas_blas_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries ptf77blas,ptcblas,atlas not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: atlas_blas_info:
INFO: libraries f77blas,cblas,atlas not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
C:\Users\kaust\AppData\Local\Temp\pip-install-s16teyxc\numpy_3082b3a6f26f42f8babfcfeb6988f492\numpy\distutils\system_info.py:2077: 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):
INFO: blas_info:
INFO: libraries blas not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
C:\Users\kaust\AppData\Local\Temp\pip-install-s16teyxc\numpy_3082b3a6f26f42f8babfcfeb6988f492\numpy\distutils\system_info.py:2077: 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):
INFO: blas_src_info:
INFO: NOT AVAILABLE
INFO:
C:\Users\kaust\AppData\Local\Temp\pip-install-s16teyxc\numpy_3082b3a6f26f42f8babfcfeb6988f492\numpy\distutils\system_info.py:2077: 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):
INFO: NOT AVAILABLE
INFO:
non-existing path in 'numpy\distutils': 'site.cfg'
INFO: lapack_opt_info:
INFO: lapack_armpl_info:
INFO: libraries armpl_lp64_mp not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: lapack_mkl_info:
INFO: libraries mkl_rt not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_lapack_info:
INFO: libraries openblas not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_clapack_info:
INFO: libraries openblas,lapack not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: flame_info:
INFO: libraries flame not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries tatlas,tatlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib
INFO: libraries tatlas,tatlas not found in C:
INFO: libraries tatlas,tatlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs
INFO: <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_info:
INFO: libraries satlas,satlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib
INFO: libraries satlas,satlas not found in C:
INFO: libraries satlas,satlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs
INFO: <class 'numpy.distutils.system_info.atlas_3_10_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_threads_info:
INFO: Setting PTATLAS=ATLAS
INFO: libraries ptf77blas,ptcblas,atlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib
INFO: libraries ptf77blas,ptcblas,atlas not found in C:
INFO: libraries ptf77blas,ptcblas,atlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs
INFO: <class 'numpy.distutils.system_info.atlas_threads_info'>
INFO: NOT AVAILABLE
INFO:
INFO: atlas_info:
INFO: libraries f77blas,cblas,atlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib
INFO: libraries f77blas,cblas,atlas not found in C:
INFO: libraries f77blas,cblas,atlas not found in C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs
INFO: <class 'numpy.distutils.system_info.atlas_info'>
INFO: NOT AVAILABLE
INFO:
INFO: lapack_info:
INFO: libraries lapack not found in ['C:\Users\kaust\AppData\Local\Programs\Python\Python311\lib', 'C:\', 'C:\Users\kaust\AppData\Local\Programs\Python\Python311\libs']
INFO: NOT AVAILABLE
INFO:
C:\Users\kaust\AppData\Local\Temp\pip-install-s16teyxc\numpy_3082b3a6f26f42f8babfcfeb6988f492\numpy\distutils\system_info.py:1902: 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))()
INFO: lapack_src_info:
INFO: NOT AVAILABLE
INFO:
C:\Users\kaust\AppData\Local\Temp\pip-install-s16teyxc\numpy_3082b3a6f26f42f8babfcfeb6988f492\numpy\distutils\system_info.py:1902: 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))()
INFO: NOT AVAILABLE
INFO:
INFO: numpy_linalg_lapack_lite:
INFO: FOUND:
INFO: language = c
INFO: define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64
')]
INFO:
Warning: attempted relative import with no known parent package
C:\Users\kaust\AppData\Local\Temp\pip-build-env-w7jhfsc1\overlay\Lib\site-packages\setuptools_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running bdist_wheel
running build
running config_cc
INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
INFO: build_src
INFO: 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
INFO: 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: Failed building wheel for numpy
Failed to build numpy
ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects

@kaustubh43
Copy link
Author

Above comment is copied from the terminal

@kaustubh43
Copy link
Author

@BEPb any update on this?

@kaustubh43 kaustubh43 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2023
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