Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
218 views
in Technique[技术] by (71.8m points)

python - Problem with installing pypy modules in windows 10

I am trying to install pandas, matplotlib and other modules to pypy3. However I keep getting error messages is there a way i could fix this problem. I am on a windows 10 64 bit machine. I have execurted the ensurepip command on cmd and it works. when I download modules to python it is fine however downloading the modules in pypy is the issue. Down below is the error command:

cmd Error Message:


C:Usersmaste>pypy3 -m  pip list
Package          Version
---------------- -------
cffi             1.14.3
greenlet         0.4.13
ipython-genutils 0.2.0
parso            0.8.1
pip              20.3.3
py               1.10.0
readline         6.2.4.1
setuptools       47.1.0
six              1.15.0
tornado          6.1
traitlets        5.0.5
wcwidth          0.2.5

C:Usersmaste>pypy3 -m  pip install pandas
Collecting pandas
  Using cached pandas-1.2.0.tar.gz (5.4 MB)
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:UsersmasteAppDataLocalProgramsPythonPypypypy3.7-v7.3.3-win32pypy3.exe' 'C:UsersmasteAppDataLocalProgramsPythonPypypypy3.7-v7.3.3-win32site-packagespip' install --ignore-installed --no-user --prefix 'C:UsersmasteAppDataLocalTemppip-build-env-3f0g_ug8overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.21,<3' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.5; python_version=='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy; python_version>='"'"'3.9'"'"''
       cwd: None
  Complete output (269 lines):
  Ignoring numpy: markers 'python_version == "3.8" 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
  Ignoring numpy: markers 'python_version == "3.8" and platform_system == "AIX"' don't match your environment
  Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment
  Collecting numpy==1.16.5
    Using cached numpy-1.16.5.zip (5.1 MB)
  Collecting Cython<3,>=0.29.21
    Using cached Cython-0.29.21-py2.py3-none-any.whl (974 kB)
  Collecting wheel
    Using cached wheel-0.36.2-py2.py3-none-any.whl (35 kB)
  Collecting setuptools
    Using cached setuptools-51.1.1-py3-none-any.whl (2.0 MB)
  Using legacy 'setup.py install' for numpy, since package 'wheel' is not installed.
  Installing collected packages: wheel, setuptools, numpy, Cython
      Running setup.py install for numpy: started
      Running setup.py install for numpy: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: 'C:UsersmasteAppDataLocalProgramsPythonPypypypy3.7-v7.3.3-win32pypy3.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\maste\AppData\Local\Temp\pip-install-y52q2imo\numpy_e5aebe17c4a84890b15f58b35ad13db9\setup.py'"'"'; __file__='"'"'C:\Users\maste\AppData\Local\Temp\pip-install-y52q2imo\numpy_e5aebe17c4a84890b15f58b35ad13db9\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:UsersmasteAppDataLocalTemppip-record-kiureofpinstall-record.txt' --single-version-externally-managed --prefix 'C:UsersmasteAppDataLocalTemppip-build-env-3f0g_ug8overlay' --compile --install-headers 'C:UsersmasteAppDataLocalTemppip-build-env-3f0g_ug8overlayinclude
umpy'
           cwd: C:UsersmasteAppDataLocalTemppip-install-y52q2imo
umpy_e5aebe17c4a84890b15f58b35ad13db9
      Complete output (247 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:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries mkl_rt not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      blis_info:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries blis not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      openblas_info:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries openblas not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\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
      Found executable C:cygwin64inDF.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
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries tatlas not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      atlas_3_10_blas_info:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries satlas not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      atlas_blas_threads_info:
      Setting PTATLAS=ATLAS
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries ptf77blas,ptcblas,atlas not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      atlas_blas_info:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries f77blas,cblas,atlas not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      accelerate_info:
        NOT AVAILABLE

      C:UsersmasteAppDataLocalTemppip-install-y52q2imo
umpy_e5aebe17c4a84890b15f58b35ad13db9
umpydistutilssystem_info.py:639: 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:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries blas not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      C:UsersmasteAppDataLocalTemppip-install-y52q2imo
umpy_e5aebe17c4a84890b15f58b35ad13db9
umpydistutilssystem_info.py:639: 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:UsersmasteAppDataLocalTemppip-install-y52q2imo
umpy_e5aebe17c4a84890b15f58b35ad13db9
umpydistutilssystem_info.py:639: 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

      'svnversion' is not recognized as an internal or external command,
      operable program or batch file.
      non-existing path in 'numpy\distutils': 'site.cfg'
      lapack_opt_info:
      lapack_mkl_info:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries mkl_rt not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      openblas_lapack_info:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries openblas not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      openblas_clapack_info:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries openblas,lapack not found in ['C:\', 'C:\Users\maste\AppData\Local\Programs\Python\Pypy\pypy3.7-v7.3.3-win32\libs']
        NOT AVAILABLE

      atlas_3_10_threads_info:
      Setting PTATLAS=ATLAS
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries lapack_atlas not found in C:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries tatlas,tatlas not found in C:
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries lapack_atlas not found in C:UsersmasteAppDataLocalProgramsPythonPypypypy3.7-v7.3.3-win32libs
      No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
      customize MSVCCompiler
        libraries tatlas,tatlas

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The PyPy's Python packages compatibility page currently shows issues with pandas (and matplotlib). The issue seems not specific only to you.

PyPy's Python packages compatibility


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...