I am trying to install yfinance but return this error
try pip2.7 install --user yfinance also return same error
09:37 ~ $ pip2.7 install --user yfinance --upgrade --no-cache-dir
Collecting yfinance
Downloading https://files.pythonhosted.org/packages/79/bd/d64719da8f5367f4d8b16e83507fa1d90942f433f748a4cf3ed7aa515d14/yfinance-0.1.63.tar.gz
Collecting pandas>=0.24 (from yfinance)
Downloading https://files.pythonhosted.org/packages/53/05/bf382e8bc60731906a2e7261648bcea3a6b309ad2b9952010737a1b9413e/pandas-1.3.0.tar.gz (4.7MB)
100% |████████████████████████████████| 4.7MB 56.8MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-3kONdz/pandas/setup.py", line 249
f"{extension}-source file '{sourcefile}' not found.\n"
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3kONdz/pandas/