0

I have create a sample project and adding environment then try to install pandas it show me this

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed building wheel for pandas

Failed to build pandas ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects

I have download this too :- https://visualstudio.microsoft.com/visual-cpp-build-tools/

arpit
  • 555
  • 1
  • 7
  • 25
  • How did you create the environment? Which version of Python did you install? Which version of pandas are you trying to install? – Eduardo Motta de Moraes Feb 18 '23 at 17:40
  • I have Python 3.10.5 I tried with pip install pandas as well as pip install pandas==1.1.5 Environment:- virtualenv myenv and then setting interpreter – arpit Feb 18 '23 at 17:45
  • The latest stable version for Pandas is 1.5.3, try installing that. – Eduardo Motta de Moraes Feb 18 '23 at 17:47
  • 1
    Also, is it Python 3.10.5 32-bit or 64-bit? Pandas does not ship 32-bit wheels for Python 3.10. So you could try using Python 3.9 if you need it to be 32-bit. – Eduardo Motta de Moraes Feb 18 '23 at 17:48
  • 2
    The error message is not complete, so you only have people guessing the problem here. – Dr. Snoopy Feb 18 '23 at 19:24
  • Does this answer your question? [ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects](https://stackoverflow.com/questions/72401377/error-could-not-build-wheels-for-pandas-which-is-required-to-install-pyproject) – MingJie-MSFT Feb 20 '23 at 02:12
  • @EduardoMottadeMoraes i use 64 bit but somehow i am able to install pandas 1.5.3 as you suggest. – arpit Feb 20 '23 at 05:12

0 Answers0