I'm just getting started, running macOS Mojave, and trying to import
from QuickBooks. I tried installing GNU Cash with Python Bindings per
these instructions…
https://wiki.gnucash.org/wiki/MacOSX/MacPortsDetail
…and running the scripts from Jonathan Corbet's article…
https://lwn.net/Articles/729087/
…but I'm getting the error…
ImportError: No module named gnucash
…whenever I run Jonathan's script. I tried running it from the
directory where I cloned it from github like this…
$ python ./qb_iif_to_gc -c -r ~/Downloads/exportQuickBooks.IIF
$ python2 ./qb_iif_to_gc -c -r ~/Downloads/exportQuickBooks.IIF
$ python3 ./qb_iif_to_gc -c -r ~/Downloads/exportQuickBooks.IIF
…and a few variations without -c and -r.
Some about my environment:
$ which -a python
/usr/local/bin/python
/usr/bin/python
$ which -a python2
/usr/local/bin/python2
$ which -a python3
/usr/local/bin/python3
$ echo $PYTHONPATH
:/opt/local/lib/python2.7/site-packages
$ ls /opt/local/lib/python2.7/site-packages/
xcbgen
Any pointers?
Thanks!
Aaron
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.