Closed robertmartin8 closed 3 years ago
First of all, it is correct that binder only looks at the requirements.txt
file. Sadly, one cannot set different priorities such that it would read from a more robust format.
So I see three solutions:
yfinance
makes the notebook always feel "up to date", which I like! pip install yfinance
in the notebooksPersonally, I would go for the first one. I guess for the time being, requirements.txt
will always be a subset of main, dev, and optional dependencies, which is fine for this "fallback" file.
yfinance
is not available in the binder notebooks. I added it to thepyproject.toml
as a dev dependency, and also addedpip install
in theDockerfile
, but I keep gettingModuleNotFoundError
.It seems that binder is only looking at
requirements.txt
when it sets up the environment, so I may have to addyfinance
to the requirements (either that or make all of the notebooks read from local data).@phschiele any thoughts?