Setting up a usable Python environment in macOS
So having recently gone back to the Mac after a 7 year hiatus to try out using Linux as a desktop environment meant getting 7 years worth of code working. Any Perl code I had would have been originally written on macOS, so it worked just fine. 3/4 of my C code was written on macOS originally as well. But Just installing some packages with Brew and it all compiled just fine. And of course, all the BASH and awk code was no issues either.
And that brings us to Python. For some inexplicable reason, the system python is still 2.7. As you’d guess, all my code is Python 3. But, you should never use the system python anyway.
Read more...