Hi, I'm on OSX Yosemite, and can't get the python bindings to work. No matter what I do, I get things like this:
$ ledger python Error: No journal file was specified (please use -f) $ ledger python -f ledger Error: Unrecognized command 'python' And like this: $ python Python 2.7.8 (default, Oct 19 2014, 16:02:00) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ledger Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named ledger I've tried the following ways to install, to no avail: 1. brew install ledger 2. brew install --python ledger 3. git clone https://github.com/ledger/ledger.git; cd ledger && ./acprep update How do I make the python bindings work? (FWIW, I'm looking into python because I got really excited about ledger until I realized that it can't do things I need it to do and will have to access my data programmatically... e.g. for calculating capital gains tax I need to do FIFO/LIFO over lots automatically. It seems that beancount might support some capital gains stuff better but then I need a way to export and import my files from ledger into beancount.) -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
