Running setup.py install for pmdarima ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-71h18n2f\\pmdarima_b160faec1b154721a3aae21d71676984\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-71h18n2f\\pmdarima_b160faec1b154721a3aae21d71676984\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-1cso0und\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\user\appdata\local\programs\python\python39\Include\pmdarima'
cwd: C:\Users\user\AppData\Local\Temp\pip-install-71h18n2f\pmdarima_b160faec1b154721a3aae21d71676984\
Complete output (126 lines):
Partial import of pmdarima during the build process.
Requirements: ['joblib>=0.11\nCython>=0.29,<0.29.18\nnumpy>=1.17.3\npandas>=0.19\nscikit-learn>=0.22\nscipy>=1.3.2\nstatsmodels>=0.11,!=0.12.0\nurllib3\nsetuptools>=38.6.0,!=50.0.0\n']
Adding extra setuptools args
Setting up with numpy.distutils.core
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\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
blis_info:
libraries blis not found in ['c:\\users\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['c:\\users\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\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\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['c:\\users\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['c:\\users\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
c:\users\user\appdata\local\programs\python\python39\lib\site-packages\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\\user\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\user\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
c:\users\user\appdata\local\programs\python\python39\lib\site-packages\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\user\appdata\local\programs\python\python39\lib\site-packages\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
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\user\AppData\Local\Temp\pip-install-71h18n2f\pmdarima_b160faec1b154721a3aae21d71676984\setup.py", line 327, in <module>
do_setup()
File "C:\Users\user\AppData\Local\Temp\pip-install-71h18n2f\pmdarima_b160faec1b154721a3aae21d71676984\setup.py", line 323, in do_setup
setup(**metadata)
File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\numpy\distutils\core.py", line 135, in setup
config = configuration()
File "C:\Users\user\AppData\Local\Temp\pip-install-71h18n2f\pmdarima_b160faec1b154721a3aae21d71676984\setup.py", line 170, in configuration
config.add_subpackage(DISTNAME)
File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\numpy\distutils\misc_util.py", line 1018, in add_subpackage
config_list = self.get_subpackage(subpackage_name, subpackage_path,
File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\numpy\distutils\misc_util.py", line 984, in get_subpackage
config = self._get_configuration_from_setup_py(
File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\numpy\distutils\misc_util.py", line 926, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "pmdarima\setup.py", line 47, in configuration
cythonize_extensions(top_path, config)
File "C:\Users\user\AppData\Local\Temp\pip-install-71h18n2f\pmdarima_b160faec1b154721a3aae21d71676984\pmdarima\_build_utils\__init__.py", line 66, in cythonize_extensions
basic_check_build()
File "C:\Users\user\AppData\Local\Temp\pip-install-71h18n2f\pmdarima_b160faec1b154721a3aae21d71676984\pmdarima\_build_utils\pre_build_helpers.py", line 74, in basic_check_build
compile_test_program(code)
File "C:\Users\user\AppData\Local\Temp\pip-install-71h18n2f\pmdarima_b160faec1b154721a3aae21d71676984\pmdarima\_build_utils\pre_build_helpers.py", line 43, in compile_test_program
ccompiler.compile(['test_program.c'], output_dir='objects',
File "c:\users\user\appdata\local\programs\python\python39\lib\distutils\_msvccompiler.py", line 323, in compile
self.initialize()
File "c:\users\user\appdata\local\programs\python\python39\lib\distutils\_msvccompiler.py", line 220, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\setuptools\msvc.py", line 314, in msvc14_get_vc_env
return _msvc14_get_vc_env(plat_spec)
File "c:\users\user\appdata\local\programs\python\python39\lib\site-packages\setuptools\msvc.py", line 268, in _msvc14_get_vc_env
raise distutils.errors.DistutilsPlatformError(
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python39\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-71h18n2f\\pmdarima_b160faec1b154721a3aae21d71676984\\setup.py'"'"'; __file__='"'"'C:\\Users\\user\\AppData\\Local\\Temp\\pip-install-71h18n2f\\pmdarima_b160faec1b154721a3aae21d71676984\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\user\AppData\Local\Temp\pip-record-1cso0und\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\user\appdata\local\programs\python\python39\Include\pmdarima' Check the logs for full command output.