Skip to content

Why doesn't this package depend on yfinance itself? #79

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

Closed
ccharles opened this issue Jul 10, 2019 · 6 comments
Closed

Why doesn't this package depend on yfinance itself? #79

ccharles opened this issue Jul 10, 2019 · 6 comments

Comments

@ccharles
Copy link

ccharles commented Jul 10, 2019

This library appears to depend on yfinance. Is there a reason that that dependency isn't specified in its setup.py?

Edit: That question has now been deleted. Here's a copy of what it said for posterity, with a few small edits for context:

I'm trying to push my app [to Heroku] that uses module: fix-yahoo-finance, however in order to install that module i need to install module called yfinance first.
So I placed yfinance module at top of requirements.txt list and the other one at the bottom. However when I push my app to heroku it still gives me an error:

remote:          Downloading https://files.pythonhosted.org/packages/a5/f3/aba3b563452faaea71b4161754991e3143751ec9141d83c4bce05992332a/fix-yahoo-finance-0.1.37.tar.gz
remote:            Complete output from command python setup.py egg_info:
remote:            Traceback (most recent call last):
remote:              File "<string>", line 1, in <module>
remote:              File "/tmp/pip-build-k3a2lnr1/fix-yahoo-finance/setup.py", line 19, in <module>
remote:                from fix_yahoo_finance import __version__
remote:              File "/tmp/pip-build-k3a2lnr1/fix-yahoo-finance/fix_yahoo_finance/__init__.py",
line 22, in <module>
remote:                import yfinance
remote:            ModuleNotFoundError: No module named 'yfinance'
remote:
remote:            ----------------------------------------
remote:        Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-k3a2lnr1/fix-yahoo-finance/

So I wonder what Im doing wrong. And how to fix this issue?

@ranaroussi
Copy link
Owner

Install yfinance instead of fix_yahoo_finance and use:

import yfinance as yf

@dan-singh
Copy link


ModuleNotFoundError Traceback (most recent call last)
in
----> 1 import yfinance as yf

ModuleNotFoundError: No module named 'yfinance'

@fmoudoute
Copy link

Hi, what happened at the end on this bug, i am facing the same problem actually.

@jessyambz
Copy link

I also need to know how to fix that!

@TenzinJhopee
Copy link

same problem

1 similar comment
@iktk2021
Copy link

same problem

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

7 participants