Python Forum
Pandas is not getting installed.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pandas is not getting installed.
#1
I'm getting below error while installing pandas. please help to fix this issue.

ERROR: Command errored out with exit status 1:
command: 'c:\program files (x86)\python 3.5\python.exe' 'c:\program files (x86)\python 3.5\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\N260858\AppData\Local\Temp\tmp8qhwdu8u'
cwd: C:\Users\N260858\AppData\Local\Temp\pip-install-mtflh8to\pandas
Complete output (19 lines):
Traceback (most recent call last):
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 257, in <module>
main()
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 240, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\program files (x86)\python 3.5\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 91, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\N260858\AppData\Local\Temp\pip-build-env-c18azn49\overlay\Lib\site-packages\setuptools\build_meta.py", line 148, in get_requires_for_build_wheel
config_settings, requirements=['wheel'])
File "C:\Users\N260858\AppData\Local\Temp\pip-build-env-c18azn49\overlay\Lib\site-packages\setuptools\build_meta.py", line 128, in _get_build_requires
self.run_setup()
File "C:\Users\N260858\AppData\Local\Temp\pip-build-env-c18azn49\overlay\Lib\site-packages\setuptools\build_meta.py", line 250, in run_setup
self).run_setup(setup_script=setup_script)
File "C:\Users\N260858\AppData\Local\Temp\pip-build-env-c18azn49\overlay\Lib\site-packages\setuptools\build_meta.py", line 143, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 42
f"numpy >= {min_numpy_ver}",
^
SyntaxError: invalid syntax
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\program files (x86)\python 3.5\python.exe' 'c:\program files (x86)\python 3.5\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\N260858\AppData\Local\Temp\tmp8qhwdu8u' Check the logs for full command output.
Reply
#2
try pip3 install pandas
Reply
#3
Installation
Quote:Python version supportĀ¶
Officially Python 3.6.1 and above, 3.7, and 3.8.
Python 3.5 as you use is not supported.

See that they use f-string in your error code,which was new in 3.6 -->
Error:
f"numpy >= {min_numpy_ver}", ^ SyntaxError: invalid syntax
Python 3.8 (3.6-3.7) and pip installation under Windows
Anaconda.
Reply
#4
Issue resolved by using installed higher version. Thank you snippsat.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020