On Mon, Jan 21, 2013 at 3:09 AM, Jeroen De Vlieger <[email protected]> wrote:
> how can I run the python/demo.py?
>
> $ pwd
> ~/CodingProjects/ledger_acprep_build/python
> $ python demo.py
> Traceback (most recent call last):
>   File "demo.py", line 10, in <module>
>     import ledger
> ImportError: No module named ledger

My understanding is that Python scripts need to be run through ledger,
using the "python" verb:

--
$ ledger python demo.py
Welcome to the Ledger.Python demo!
Demo completed successfully.
--

Also, you need to build ledger (and boost) with python support for
this to function.

- Zack

Reply via email to