How to default Python3.8 on my Mac using Homebrew?

Here is the solution: If existing symlinks belong to python 3.7 you should unlink them: brew unlink python Basically all you need to do: brew link –force [email protected] OR force the link and overwrite all conflicting files: brew link –force –overwrite [email protected] OR if needed list all files that would be deleted: brew link –overwrite … Read more

How to install openjdk with brew? [closed]

Run brew install openjdk@11 In case you are managing java versions with jenv, also run: sudo ln -sfn /opt/homebrew/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.jdk jenv add /Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home/

5: Input/output error Error: Failure while executing; `/bin/launchctl bootstrap gui/502 and FATAL: password authentication failed for user

This is what I did to resolve on my Mac. Looked at the postgres.log cat /usr/local/var/log/postgres.log | tail -100 Found the following error on my logs FATAL: lock file “postmaster.pid” already exists Fix above PID issue and restart the server. rm /usr/local/var/postgres/postmaster.pid brew services restart postgresql

How can I get iTerm to use the newer version of bash that brew shows? Change a user’s shell on OSX

bash –version (or bash -version) will NOT report the CURRENT shell’s version, but the version of the bash executable that comes FIRST IN THE $PATH. [Note: OSX 10.10 (Yosemite) is the first OSX version where /usr/local/bin is placed BEFORE system paths such as /bin in the $PATH. Up to 10.9, system paths came first. Thus, … Read more

Homebrew installation on Mac OS X Failed to connect to raw.githubusercontent.com port 443

Works for me. Unless its a real problem with github, which it may be but I’m going to guess that its not, its probably a problem with your connection. Can you get to the same URL via a browser? https://raw.githubusercontent.com/Homebrew/install/master/install If you get an error there too, you know what your problem is. (Talk to … Read more

Uncommon homebrew error: “Unknown command: switch”

As I commented above, Homebrew got rid of the switch command entirely, which is why it says “Unknown command”. But rbenv provides a tap that you can install openssl from. You can run the command below: brew install rbenv/tap/[email protected] If you’re installing [email protected] for Ruby purposes, this thread tells you how to do that as … Read more

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