Unable to install pandas for python

0 votes

I'm attempting to install pandas for Python, but I'm receiving lengthy error messages. As a result, I tried the following:

  1. Python 3.10.0 should be uninstalled and reinstalled.
  2. Navigate to the path C:UsersusernameAppDataLocalProgramsPythonPython310 on the command prompt to install pandas.
  3. Scripts and installing pandas with pip
  4. I also tried installing pandas with pip3.
  5. I attempted to install an older version of pandas but received the same issue.

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 9, 2022 in Python by Edureka
• 13,620 points

edited Mar 4 128 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