pandas: Unable to Install Pandas on Python 3.9.0a3

Code Sample, a copy-pastable example if possible

# Your code here
**Unable to Install Pandas on Python 3.9.0a3** (tags/v3.9.0a3:c33378d, Jan 25 2020, 10:12:02) [MSC v.1916 64 bit (AMD64)] on win32

Problem description

Keep getting message still running… but no luck PS C:\Windows\System32\WindowsPowerShell\v1.0> pip install pandas Collecting pandas Downloading https://files.pythonhosted.org/packages/02/c3/e8c56de02d6c52f8541feca2fd77117e8ae4956f7b3e5cdbed726624039b/pandas-1.0.1.tar.gz (4.9MB) Installing build dependencies: started Installing build dependencies: still running… Installing build dependencies: still running… Installing build dependencies: still running… Installing build dependencies: still running… Installing build dependencies: still running… Installing build dependencies: still running… Installing build dependencies: still running… Installing build dependencies: still running… Installing build dependencies: finished with status ‘error’ pip : ERROR: Command errored out with exit status 1: At line:1 char:1

  • pip install pandas
  •   + CategoryInfo          : NotSpecified: (  ERROR: Comman... exit status 1::String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
    
     command: 'c:\users\yogendra.k.bhardwaj\python\python39\python.exe' 'c:\users\yogendra.k.bhardwaj\python\python39\lib\site-packages\pip' install 
    

–ignore-installed --no-user --prefix ‘C:\Users\yogendra.k.bhardwaj\AppData\Local\Temp\pip-build-env-8hi0psxy\overlay’ --no-warn-script-location –no-binary :none: --only-binary :none: -i https://pypi.org/simple --trusted-host pypi.org --trusted-host files.pythonhosted.org – 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 (1933 lines): Ignoring numpy: markers ‘python_version == “3.6” 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 Downloading setuptools-45.2.0-py3-none-any.whl (584 kB) Collecting wheel Downloading wheel-0.34.2-py2.py3-none-any.whl (26 kB) Collecting Cython>=0.29.13 Downloading Cython-0.29.15-py2.py3-none-any.whl (968 kB) Collecting numpy==1.14.5 Downloading numpy-1.14.5.zip (4.9 MB) Installing collected packages: setuptools, wheel, Cython, numpy Running setup.py install for numpy: started Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: still running… Running setup.py install for numpy: finished with status ‘error’ ERROR: Command errored out with exit status 1: command: ‘c:\users\yogendra.k.bhardwaj\python\python39\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’“‘C:\Users\yogendra.k.bhardwaj\AppData\Local\Temp\pip-install-tw6jolwp\numpy\setup.py’”’“‘; file=’”‘“‘C:\Users\yogendra.k.bhardwaj\AppData\Local\Temp\pip-install-tw6jolwp\numpy\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\yogendra.k.bhardwaj\AppData\Local\Temp\pip-record-oqns_udy\install-record.txt’ --single-version-externally-managed --prefix ‘C:\Users\yogendra.k.bhardwaj\AppData\Local\Temp\pip-build-env-8hi0psxy\overlay’ --compile --install-headers ‘C:\Users\yogendra.k.bhardwaj\AppData\Local\Temp\pip-build-env-8hi0psxy\overlay\Include\numpy’ cwd: C:\Users\yogendra.k.bhardwaj\AppData\Local\Temp\pip-install-tw6jolwp\numpy
Complete output (1898 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)


  C:\Users\yogendra.k.bhardwaj\AppData\Local\Temp\pip-install-tw6jolwp\numpy\numpy\distutils\misc_util

.py:464: SyntaxWarning: “is” with a literal. Did you mean “==”? return is_string(s) and (‘*’ in s or ‘?’ is s) 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\yogendra.k.bhardwaj\python\python39\lib’, ‘C:\’, ‘c:\users\yogendra.k.bhardwaj\python\python39\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:\\users\\yogendra.k.bhardwaj\\python\\python39\\lib', 'C:\\', 

‘c:\users\yogendra.k.bhardwaj\python\python39\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:\\users\\yogendra.k.bhardwaj\\python\\python39\\lib', 'C:\\', 

‘c:\users\yogendra.k.bhardwaj\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

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (5 by maintainers)

Commits related to this issue

Most upvoted comments

no idea -

Read the red sentence allert when you fail to install package and find what you have to install first Try this, in cmd : pip list and read what package you have installed. skip if it is in the list

pip install setuptools pip install numpy pip install Cython pip install wheel

then after that pip install pandas

@yogendrasoni79 building on previous responses: can you try pip install numpy before trying to install pandas? It looks like the problem is there.

@esterrose, best answer ever. I’ve been looking for a solution to install pandas in python 3.9 and you had it perfect, install all those modules before installing pandas. Thanks man.