Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binder does not open and Yahoo Finance no longer supported. Which library to use? #14

Open
mger1608 opened this issue Nov 8, 2023 · 0 comments

Comments

@mger1608
Copy link

mger1608 commented Nov 8, 2023

Hello,

I have been trying to get started with the case studies in the book using both the Binder notebooks and Jupyter notebooks provided through supplemental GitHub material. When I try to create a Binder instance, I receive the following error:

` error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
/tmp/pip-install-mbfkwcqr/pandas_6b0bec17a8b44e1eab271987003b87bd/setup.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
/srv/conda/envs/notebook/lib/python3.10/site-packages/setuptools/init.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************
  
  !!
    dist.fetch_build_eggs(dist.setup_requires)
  error in pandas setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
      pytz >= 2011k
           ~~~~~~~^
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Removing intermediate container bc318755c302
The command '/bin/sh -c ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir -r "requirements.txt"' returned a non-zero code: 1`

I tried poking around the documentation but did not see any good way to implement the recommended 'PEP 57 installer'.

Then I tried using the Jupyter notebooks for the "Stock Price Prediction" case. Unfortunately, Yahoo finance is no longer supported, yfinance is a fragile web scraper substitute, and quandl did not work either.

What is the recommended path forward here? Unfortunately, I do not have a developer background and come more from the finance side. I am happy to explore the technical architecture and requirements, but feel like I am a bit outside my domain of expertise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant