What version of Python is on my Mac?

You could have multiple Python versions on your macOS. You may check that by command, type or which command, like: Or type python in Terminal and hit Tab few times for auto completion, which is equivalent to: By default python/pip commands points to the first binary found in PATH environment variable depending what’s actually installed. So before installing Python packages with Homebrew, the default Python is installed in /usr/bin which is shipped … Read more

How to change default Python version?

[updated for 2021] (Regardless if you are on Mac, Linux, or Windows:) If you are confused about how to start the latest version of python, on most platforms it is the case that python3 leaves your python2 installation intact (due to the above compatibility reasons); thus you can start python3 with the python3 command. Historically… The naming convention is that generally, most … Read more

Where to find Application Loader app in Mac?

In more modern versions of Xcode, you’ll find “Application Loader” under the “Xcode” menu (the first menu to the right of the Apple in the menu bar) and it’ll be hiding in the “Open Developer Tools” submenu.

You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)

Update: I now have a very detailed step-by-step tutorial for setting up a proper Ruby development environment on a Mac, including a Homebrew troubleshooting section with the most common issues people run into. Although my step-by-step tutorial is guaranteed to work, I also have a script that will save you a lot of time. My tutorial uses a … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)