Collecting pandas
Using cached pandas-1.4.2.tar.gz (4.9 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [235 lines of output]
Collecting setuptools>=51.0.0
Using cached setuptools-62.3.4-py3-none-any.whl (1.2 MB)
Collecting wheel
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting Cython<3,>=0.29.24
Using cached Cython-0.29.30-py2.py3-none-any.whl (985 kB)
Collecting oldest-supported-numpy>=0.10
Using cached oldest_supported_numpy-2022.5.28-py3-none-any.whl (3.9 kB)
Collecting numpy
Using cached numpy-1.22.4.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'
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
[204 lines of output]
setup.py:66: RuntimeWarning: NumPy 1.22.4 may not yet support Python 3.11.
warnings.warn(
Running from numpy source directory.
C:\Users\Ishu\AppData\Local\Temp\pip-install-df8zt7_2\numpy_9b9d19a5190745bebfd9555dfdf75eab\tools\cythonize.py:63: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
from distutils.version import LooseVersion
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\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: blas_mkl_info:
INFO: libraries mkl_rt not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: blis_info:
INFO: libraries blis not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_info:
INFO: libraries openblas not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\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
WARN: Could not locate executable DF
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\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: atlas_3_10_blas_info:
INFO: libraries satlas not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\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\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: atlas_blas_info:
INFO: libraries f77blas,cblas,atlas not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
C:\Users\Ishu\AppData\Local\Temp\pip-install-df8zt7_2\numpy_9b9d19a5190745bebfd9555dfdf75eab\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\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
C:\Users\Ishu\AppData\Local\Temp\pip-install-df8zt7_2\numpy_9b9d19a5190745bebfd9555dfdf75eab\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\Ishu\AppData\Local\Temp\pip-install-df8zt7_2\numpy_9b9d19a5190745bebfd9555dfdf75eab\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\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: lapack_mkl_info:
INFO: libraries mkl_rt not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_lapack_info:
INFO: libraries openblas not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: openblas_clapack_info:
INFO: libraries openblas,lapack not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
INFO: flame_info:
INFO: libraries flame not found in ['C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\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\Ishu\AppData\Local\Programs\Python\Python311\lib
INFO: libraries tatlas,tatlas not found in C:\
INFO: libraries tatlas,tatlas not found in C:\Users\Ishu\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\Ishu\AppData\Local\Programs\Python\Python311\lib
INFO: libraries satlas,satlas not found in C:\
INFO: libraries satlas,satlas not found in C:\Users\Ishu\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\Ishu\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\Ishu\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\Ishu\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\Ishu\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\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\lib', 'C:\\', 'C:\\Users\\Ishu\\AppData\\Local\\Programs\\Python\\Python311\\libs']
INFO: NOT AVAILABLE
INFO:
C:\Users\Ishu\AppData\Local\Temp\pip-install-df8zt7_2\numpy_9b9d19a5190745bebfd9555dfdf75eab\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\Ishu\AppData\Local\Temp\pip-install-df8zt7_2\numpy_9b9d19a5190745bebfd9555dfdf75eab\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\Ishu\AppData\Local\Programs\Python\Python311\Lib\distutils\dist.py:274: 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
[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.
Environment
Bug report
Here is the output of
pip -Vjust in case you need itpip 22.1.2 from C:\Users\Ishu\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip (python 3.11)If I install pandas using the above pip version this is the output: