Why can't install yfinance in custom directory?

Many python packages were installed in my .local/lib/python3.9/site-packages,and i had already tried that

pip install git+https://github.com/ranaroussi/yfinance

yfinance can be installed in .local/lib/python3.9/site-packages.Now i am trying to install with downloaded package.
Download a specified yfinance version on https://github.com/ranaroussi/yfinance and extract it.

cd /home/debian/Downloads/yfinance-hotfix-proxy
ls
build          LICENSE.txt  mkdocs.yml        setup.cfg  test_yfinance.py
CHANGELOG.rst  MANIFEST.in  README.md         setup.py   yfinance
dist           meta.yaml    requirements.txt  tests  yfinance.egg-info

Install with --prefix:

debian@debian:~/Downloads/yfinance-hotfix-proxy$ python3 setup.py install --prefix /home/debian/.local
running install
/home/debian/.local/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/debian/.local/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
error: Cannot update time stamp of directory 'yfinance.egg-info'

Why can't install it with python3 setup.py install --prefix /home/debian/.local?



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation