Unable to install pandas for python

0 votes

I am trying to install pandas for python but I keep getting very long error messages. So I tried the following:

  • Uninstall and resinstall python version 3.10.0
  • Install pandas through command prompt by navigating to directory C:\Users\username\AppData\Local\Programs\Python\Python310\Scripts and running pip install pandas
  • I also tried using pip3 install pandas
  • I tried to install a previous version of pandas but still getting the same error

Here is the error:

Microsoft Windows [Version 10.0.19042.1288]
(c) Microsoft Corporation. All rights reserved.

C:\Users\motaz>cd .C:\Users\motaz\AppData\Local\Programs\Python\Python310\Scripts
The filename, directory name, or volume label syntax is incorrect.

C:\Users\motaz>cd C:\Users\motaz\AppData\Local\Programs\Python\Python310\Scripts

C:\Users\motaz\AppData\Local\Programs\Python\Python310\Scripts>pip install pandas
Collecting pandas
  Using cached pandas-1.3.3.tar.gz (4.7 MB)
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\Users\motaz\AppData\Local\Programs\Python\Python310\python.exe' 'C:\Users\motaz\AppData\Local\Temp\pip-standalone-pip-_jyoyc51\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\motaz\AppData\Local\Temp\pip-build-env-qf94j_f0\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=51.0.0' wheel 'Cython>=0.29.21,<3' 'numpy==1.17.3; python_version=='"'"'3.7'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.18.3; python_version=='"'"'3.8'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"' and (platform_machine!='"'"'arm64'"'"' or platform_system!='"'"'Darwin'"'"') and platform_machine!='"'"'aarch64'"'"'' 'numpy==1.19.2; python_version=='"'"'3.7'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy==1.19.2; python_version=='"'"'3.8'"'"' and platform_machine=='"'"'aarch64'"'"'' 'numpy>=1.20.0; python_version=='"'"'3.8'"'"' and platform_machine=='"'"'arm64'"'"' and platform_system=='"'"'Darwin'"'"'' 'numpy>=1.20.0; python_version=='"'"'3.9'"'"' and platform_machine=='"'"'arm64'"'"' and platform_system=='"'"'Darwin'"'"''
       cwd: None
  Complete output (234 lines):

May 2, 2022 in Python by Edureka
• 12,690 points

edited Mar 4 88 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP