Installation problems on MacBook Air M2 (Sonoma 14.5)

76 views
Skip to first unread message

Alejandro López

unread,
Jun 20, 2024, 8:34:16 PM (9 days ago) Jun 20
to Beancount
Hi,

I installed Beancount 3.0.0 with homebrew and some commands aren't being recognized. When I use 'bean-report --help', it says 'bean-report: command not found'. Running 'bean-check --version' does work though. I checked the path and it's in /opt/hombrew/bin/beancount. I've tried uninstalling and reinstalling and it didn't work. I've tried installing through pip3 and it doesn't recognize ANY command.

Could anyone help?

Thanks

Martin Blais

unread,
Jun 20, 2024, 8:36:09 PM (9 days ago) Jun 20
to bean...@googlegroups.com
bean-report is gone.


--
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 beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/95cd8581-674a-44fd-92a9-392230ee38a7n%40googlegroups.com.

Alejandro López

unread,
Jun 21, 2024, 7:27:43 AM (8 days ago) Jun 21
to bean...@googlegroups.com
Can you point me to the updated docs?

Martin Blais

unread,
Jun 21, 2024, 7:29:35 AM (8 days ago) Jun 21
to Beancount
I can't 
The docs are all about v2.
Not updated.

fin

unread,
Jun 21, 2024, 11:37:23 PM (8 days ago) Jun 21
to bean...@googlegroups.com
Alejandro López wrote:
> ------=_Part_19588_1280279838.1718922969400
> Content-Type: multipart/alternative;
> boundary="----=_Part_19589_1213575422.1718922969400"
>
> ------=_Part_19589_1213575422.1718922969400
> Content-Type: text/plain; charset="UTF-8"
i've aliased bean-report to bean-query version for balances.
that is the most frequent report i use:

does it have an alias capability for your console terminal
or do you want a clickable version of the report?

the base command i'm using is:

bean-query ledger.bc balances

if i could come up with one for networth that would be very
helpful, but i've not had much time lately to poke at that one.

if someone else in the meantime could come up with one that i
could substitute then i'd be able to upgrade to v3 instead of
holding at v2 (because i really use netw a lot and i don't need
v3 features that i can tell). :)

holdings is one other one i do use once in a great while so
that isn't as important as the other two to me.


fin

Chary Chary

unread,
Jun 22, 2024, 7:53:17 AM (7 days ago) Jun 22
to Beancount


On Saturday, June 22, 2024 at 5:37:23 AM UTC+2 fin wrote:
Alejandro López wrote:

if i could come up with one for networth that would be very
helpful, but i've not had much time lately to poke at that one.



This one works for me. This is net worth at a certain date

    query = f"""
    SELECT SUM(position)
    where date <= {date_iso} AND account ~ 'Assets|Liabilities'
    """

But I usually make it per account and convert to a single currency

    query = f"""
    SELECT account, convert(SUM(position),'{currency}',{date_iso}) as amount
    where date <= {date_iso} AND account ~ 'Assets|Liabilities'
    """

 
Reply all
Reply to author
Forward
0 new messages