Hi! Yes, I am using python3. Still the same error.
Ledger 3.2.1-20200518
Python 3.9.7
python-ledger:amd64/buster 3.1.2+dfsg1-1 uptodate
➜ src git:(master) ✗ python3 test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
import ledger
ModuleNotFoundError: No module named 'ledger'
But then, I just replaced "python3" to "python" (Python 2.7.18) and it
worked fine now.
Thank you.
Now, where can I find more info about how to use this module? I didn't find
any relevant or complete documentation. The official doc is very poor about
that. Where can I find something more useful? Or even the source code of
this module, if there is no relevant doc available?
On Sat, Dec 4, 2021 at 10:56 AM David Bremner <[email protected]> wrote:
> Felipe Micaroni Lalli <[email protected]> writes:
>
> > Thank you so much. First, I had to upgrade from Debian 10 to Debian 11 to
> > be able to install this package. After a lot of pain in the distro
> upgrade,
> > I was able to install the package. But I still get the error:
> >
> >>
> >> import ledger
> >> ModuleNotFoundError: No module named 'ledger'
> >>
> >
> > What am I missing?
>
> Are you running the script with python3?
>
> d
>
--
---
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ledger-cli/CAHvMVPQ6v-Fmd4Zfp8KPEi%2BNT5VU9nat9-ymifwVi_7GPsBrdA%40mail.gmail.com.