Gary Roach wrote:
> ------=_Part_247808_1744915124.1738553186716
> Content-Type: multipart/alternative;
> boundary="----=_Part_247809_622359831.1738553186716"
>
> ------=_Part_247809_622359831.1738553186716
> Content-Type: text/plain; charset="UTF-8"
hi,
looks like someone broke things, go back to commit 4f3e272d834395cd046477c7ba43cbbe855770e3 by martin as that one works.
git checkout 4f3e272d834395cd046477c7ba43cbbe855770e3
fin
> I'm running into an issue with bean-price. I was getting a 401 Unauthorized
> message when attempting to use the Yahoo price module with bean-price -e
> 'USD:yahoo/AAPL' Similar to this post
><
https://groups.google.com/g/beancount/c/9XngjLys8CY/m/yRJHLoXlBAAJ>.
>
> I installed the latest master branch of bean-price with pip install
> git+
https://github.com/beancount/beanprice.git but now I'm getting the
> following error.
>
> File "/usr/local/lib/python3.9/dist-packages/beanprice/price.py", line 678,
> in <module>
> data.Directives,
> AttributeError: module 'beancount.core.data' has no attribute 'Directives'
>
> This looks like a version mismatch, but I'm not sure which branch of
> bean-price I should install to allow this to work. I'm currently using
>
> - beancount version 2.3.6
> - bean-price version 1.2.2