On Mon, Jan 21, 2013 at 10:22 PM, John Wiegley <[email protected]>wrote:

> >>>>> Zack Williams <[email protected]> writes:
>
> > 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
>
> Importing ledger like this only works after you've done a 'make install'.
>  I
> created the 'python' verb simply for running the Python demo scripts
> directly
> out of a build tree.  You could also edit your PYTHONPATH and it would work
> with normal importing that way too.
>
And what would need to be included in the pythonpath to make 'import
ledger'  work?
Where does the ledger python module live?

>
> What I mean to say is that the python verb is merely a developer's
> convenience, it is not required for the Python bridge to work.
>
> John
>

Reply via email to