How to Create a Python3 Virtual Environment with VirtualEnv?

To create a virtual environment running Python version 3 using VirtualEnv run the following command: virtualenv env_name -p python3 We use the -p  option to specify the version of Python we want to use. Without this, it will default to Python version 2 which comes installed by default on macOS. After activating the virtual environment with source bin/activate , run…

How to Fix the “DNS_PROBE_FINISHED_NXDOMAIN” error on macOS?

I got a brand new MacBook few weeks ago and I have been having an DNS_PROBE_FINISHED_NXDOMAIN  error while trying to access one of our web apps at work. After some time researching the cause of the error, I found out that it was due the DNS settings on my MacBook for the Wifi network I was…

Compressing and Extracting with Zip in the Terminal

Compressing a folder:

Note: With the -X option, you are compressing without the invisible files such as “_MACOSX” or “._Filename” Extracting an archive: