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

MacOS Catalina(v 10.15.3): Error: “chromedriver” cannot be opened because the developer cannot be verified. Unable to launch the chrome browser

I found the work around as below Open terminal Navigate to path where your chromedriver file is located Execute any one of the below commands Command1: xattr -d com.apple.quarantine <name-of-executable> Example (or) Command2: spctl –add –label ‘Approved’ <name-of-executable> Source: https://docwhat.org/upgrading-to-catalina Note: This will work only with the file(s) where the above command is executed. If a new chromedriver … 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

bash: pip: command not found

I downloaded pip and ran python setup.py install and everything worked just fine. The very next step in the tutorial is to run pip install <lib you want> but before it even tries to find anything online I get an error “bash: pip: command not found”. This is on Mac OS X, which I’m new too, so I’m assuming … Read more

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