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

Requirements.txt states that bean-price 1.2.2 should work with 
beancount>=2.3.4. Is there something else I'm missing here? 

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/beancount/86d46427-8bfb-43f3-a659-a4446f3174efn%40googlegroups.com.

Reply via email to