[GNC] Adding Transactions From Another Program

David H hellvee at gmail.com
Thu Apr 30 18:32:48 EDT 2020


Newsflash "Catalina is already here" :-)

Python 2.7.16 is retained as "python" when upgrading to Catalina and Python
3.8.1 is also installed as "python3" so you can presumably use both in
parallel.

davidhalverson at Davids-MBP ~ % python3 --version

Python 3.8.1

davidhalverson at Davids-MBP ~ % python --version

Python 2.7.16


WARNING: Python 2.7 is not recommended.

This version is included in macOS for compatibility with legacy software.

Future versions of macOS will not include Python 2.7.

Instead, it is recommended that you transition to using 'python3' from
within Terminal.


Python 2.7.16 (default, Feb 29 2020, 01:55:37)


Cheers David.



On Fri, 1 May 2020 at 06:04, Hal Vaughan <hal at hal.dance> wrote:

> Actually, this has me looking over what I am and am not still using.
>
> Since Mac is still using Python 2.7, but Catalina is coming up and that
> includes Python 3.x.  So I’m looking over what I use and what I don’t among
> my decades of scripts.
>
> Last I looked, pretty much every system like that usurped the originals.
> At the time, when I looked them over, it became clear to me why they did
> that and it made sense.  But, again, that decision was something like 10
> years ago and I haven’t had time or cause to revisit it - until now.
>
> Do you know if Homebrew can provide the Python bindings for GC?
>
>
> Hal
>
> > On Apr 30, 2020, at 2:27 AM, Adrien Monteleone <
> adrien.monteleone at lusfiber.net> wrote:
> >
> > Have you investigated Homebrew vs. MacPorts?
> >
> > Just curious if the Perl issues are the same.
> >
> > Regards,
> > Adrien
> >
> >> On Apr 30, 2020 w18d121, at 12:29 AM, Hal Vaughan <hal at hal.dance>
> wrote:
> >>
> >> I’ve checked out the bindings - as I mentioned in my original post, the
> problem is that using the bindings on a Mac requires MacPorts.  I’ve had
> issues before, since MacPorts (and other similar systems) usurp some of the
> normal paths for things like Perl and Python.  I don’t use Perl for coding
> anymore, but I have Perl scripts I’ve been using for over a decade that do
> some simple work for me.  I had an important Perl script I was using that
> used a specific Perl library.  I don’t remember which one it was, but when
> I added MacPorts and tried to run my script a week later, it crashed.
> >>
> >> I had no idea MacPorts, Fink, Homebrew, and similar systems usurped the
> normal system paths for scripting languages.  When I installed it, and it
> took over for Perl, it put in a system without all the libraries my scripts
> used and some of the libraries that were available to me with a standard
> Perl install (libraries I had installed from CPAN) would not install in the
> new system.  I had to completely remove MacPorts to get my old scripts to
> work.
> >>
> >> I’d love to use MacPorts, since it makes a lot available to me that I
> can’t easily add now (unless I start using a Linux VM), but that experience
> taught me never to trust such a system.
> >>
> >> I think it would be a lot easier for me to do this with Python
> bindings, but I still use older scripts for things I need to do once a
> month or once a year and I don’t want to risk breaking them again like they
> broke about a decade ago when I installed MacPorts.
> >>
> >>
> >> Hal
> >
> >
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> > 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.
> >
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> 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.
>


More information about the gnucash-user mailing list