[pypy-issue] Issue #3169: Not able to install pandas on pypy3 windows 10 (pypy/pypy)

Mehul Batra issues-reply at bitbucket.org
Thu Mar 5 10:37:52 EST 2020


New issue 3169: Not able to install pandas on pypy3 windows 10
https://bitbucket.org/pypy/pypy/issues/3169/not-able-to-install-pandas-on-pypy3

Mehul Batra:

Collecting pandas  
Using cached pandas-1.0.1.tar.gz \(4.9 MB\)  
Installing build dependencies: started  
Installing build dependencies: finished with status 'error'

ERROR: Command errored out with exit status 1:  
command: 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\pypy3.exe' 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\site-packages\\pip' install --ignore-installed --no-user --prefix 'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-build-env-kbfw8co4\\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i [https://pypi.org/simple](https://pypi.org/simple) -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python\_version=='"'"'3.6'"'"' and platform\_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python\_version>='"'"'3.7'"'"' and platform\_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python\_version=='"'"'3.6'"'"' and platform\_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python\_version>='"'"'3.7'"'"' and platform\_system=='"'"'AIX'"'"''  
cwd: None  
Complete output \(243 lines\):  
Ignoring numpy: markers 'python\_version >= "3.7" and platform\_system != "AIX"' don't match your environment  
Ignoring numpy: markers 'python\_version == "3.6" and platform\_system == "AIX"' don't match your environment  
Ignoring numpy: markers 'python\_version >= "3.7" and platform\_system == "AIX"' don't match your environment  
Collecting setuptools  
Using cached setuptools-45.2.0-py3-none-any.whl \(584 kB\)  
Collecting wheel  
Using cached wheel-0.34.2-py2.py3-none-any.whl \(26 kB\)  
Collecting Cython>=0.29.13  
Using cached Cython-0.29.15-py2.py3-none-any.whl \(968 kB\)  
Collecting numpy==1.13.3  
Using cached numpy-1.13.3.zip \(5.0 MB\)  
Installing collected packages: setuptools, wheel, Cython, numpy  
Running [setup.py](http://setup.py) install for numpy: started  
Running [setup.py](http://setup.py) install for numpy: finished with status 'error'  
ERROR: Command errored out with exit status 1:  
command: 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv\[0\] = '"'"'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-install-rovtujxj\\numpy\\[setup.py](http://setup.py)'"'"'; **file**='"'"'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-install-rovtujxj\\numpy\\[setup.py](http://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\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-record-gctpevwc\\install-record.txt' --single-version-externally-managed --prefix 'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-build-env-kbfw8co4\\overlay' --compile --install-headers 'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-build-env-kbfw8co4\\overlay\\include'  
cwd: C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-install-rovtujxj\\numpy  
Complete output \(223 lines\):  
Running from numpy source directory.

```
  Note: if you need reliable uninstall behavior, then install
  with pip instead of using `setup.py install`:

    - `pip install .`       (from a git repo or downloaded source
                             release)
    - `pip install numpy`   (last NumPy release on PyPi)


  blas_opt_info:
  blas_mkl_info:
    libraries mkl_rt not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  blis_info:
    libraries blis not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  openblas_info:
    libraries openblas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_3_10_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries tatlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_3_10_blas_info:
    libraries satlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_blas_threads_info:
  Setting PTATLAS=ATLAS
    libraries ptf77blas,ptcblas,atlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_blas_info:
    libraries f77blas,cblas,atlas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: UserWarning:
      Atlas (<http://math-atlas.sourceforge.net/)> libraries not found.
      Directories to search for the libraries can be specified in the
      numpy/distutils/site.cfg file (section [atlas]) or by setting
      the ATLAS environment variable.
    self.calc_info()
  blas_info:
    libraries blas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
  blas_src_info:
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
    NOT AVAILABLE

  non-existing path in 'numpy\\distutils': 'site.cfg'
  F2PY Version 2
  lapack_opt_info:
  lapack_mkl_info:
    libraries mkl_rt not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  openblas_lapack_info:
    libraries openblas not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  atlas_3_10_threads_info:
  Setting PTATLAS=ATLAS
    libraries tatlas,tatlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries tatlas,tatlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
    NOT AVAILABLE

  atlas_3_10_info:
    libraries satlas,satlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries satlas,satlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_3_10_info'>
    NOT AVAILABLE

  atlas_threads_info:
  Setting PTATLAS=ATLAS
    libraries ptf77blas,ptcblas,atlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries ptf77blas,ptcblas,atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_threads_info'>
    NOT AVAILABLE

  atlas_info:
    libraries f77blas,cblas,atlas not found in C:\
    libraries lapack_atlas not found in C:\
    libraries f77blas,cblas,atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
    libraries lapack_atlas not found in C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\libs
  <class 'numpy.distutils.system_info.atlas_info'>
    NOT AVAILABLE

  lapack_info:
    libraries lapack not found in ['C:\\', 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\libs']
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
  lapack_src_info:
    NOT AVAILABLE

  C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\system_info.py:572: 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.
    self.calc_info()
    NOT AVAILABLE

  C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
    warnings.warn(msg)
  running install
  running build
  running config_cc
  unifing config_cc, config, build_clib, build_ext, build commands --compiler options
  running config_fc
  unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
  running build_src
  build_src
  building py_modules sources
  creating build
  creating build\src.win32-3.6
  creating build\src.win32-3.6\numpy
  creating build\src.win32-3.6\numpy\distutils
  building library "npymath" sources
  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
  don't know how to compile Fortran code on platform 'nt'
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG /arch:SSE2 -Inumpy\core\src\private -Inumpy\core\src -Inumpy\core -Inumpy\core\src\npymath -Inumpy\core\src\multiarray -Inumpy\core\src\umath -Inumpy\core\src\npysort -IC:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\include /Tc_configtest.c /Fo_configtest.obj
  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.exe /nologo /INCREMENTAL:NO /MANIFEST _configtest.obj /OUT:_configtest.exe /MANIFEST /MANIFEST /MANIFESTFILE:_configtest.exe.manifest
  mt.exe -nologo -manifest _configtest.exe.manifest -outputresource:_configtest.exe;1

  failure.
  removing: _configtest.c _configtest.obj
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py", line 392, in <module>
      setup_package()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\setup.py", line 384, in setup_package
      setup(**metadata)
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\core.py", line 169, in setup
      return old_setup(**new_attr)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\site-packages\setuptools\__init__.py", line 144, in setup
      return distutils.core.setup(**attrs)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\install.py", line 62, in run
      r = self.setuptools_run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\install.py", line 36, in setuptools_run
      return distutils_install.run(self)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\command\install.py", line 555, in run
      self.run_command('build')
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build.py", line 47, in run
      old_build.run(self)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "C:\pypy3.6-v7.3.0-win32\pypy3.6-v7.3.0-win32\lib-python\3\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 148, in run
      self.build_sources()
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 159, in build_sources
      self.build_library_sources(*libname_info)
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 294, in build_library_sources
      sources = self.generate_sources(sources, (lib_name, build_info))
    File "C:\Users\NEX16OU\AppData\Local\Temp\1\pip-install-rovtujxj\numpy\numpy\distutils\command\build_src.py", line 377, in generate_sources
      source = func(extension, build_dir)
    File "numpy\core\setup.py", line 674, in get_mathlib_info
      raise RuntimeError("Broken toolchain: cannot link a simple C program")
  RuntimeError: Broken toolchain: cannot link a simple C program
  ----------------------------------------
```

## ERROR: Command errored out with exit status 1: 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv\[0\] = '"'"'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-install-rovtujxj\\numpy\\[setup.py](http://setup.py)'"'"'; **file**='"'"'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-install-rovtujxj\\numpy\\[setup.py](http://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\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-record-gctpevwc\\install-record.txt' --single-version-externally-managed --prefix 'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-build-env-kbfw8co4\\overlay' --compile --install-headers 'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-build-env-kbfw8co4\\overlay\\include' Check the logs for full command output.

ERROR: Command errored out with exit status 1: 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\pypy3.exe' 'C:\\pypy3.6-v7.3.0-win32\\pypy3.6-v7.3.0-win32\\site-packages\\pip' install --ignore-installed --no-user --prefix 'C:\\Users\\NEX16OU\\AppData\\Local\\Temp\\1\\pip-build-env-kbfw8co4\\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i [https://pypi.org/simple](https://pypi.org/simple) -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python\_version=='"'"'3.6'"'"' and platform\_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python\_version>='"'"'3.7'"'"' and platform\_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python\_version=='"'"'3.6'"'"' and platform\_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python\_version>='"'"'3.7'"'"' and platform\_system=='"'"'AIX'"'"'' Check the logs for full command output.




More information about the pypy-issue mailing list