Skip to main content

Posts

Installing pip with get-pip.py in a Python virtual environment

To create a Python virtual environment type below commands on the required console prompt: On Windows     python -m venv ./venv     .\venv\Scripts\activate On Ubuntu     python3 -m venv ./venv      source ./venv/bin/activate Exiting a Python Virtual Environment 1 2 3 To exit a Python virtual environment, you can use the  deactivate  command. This command is available in most Unix-like systems and Windows. Example $ deactivate Steps to Exit Virtual Environment 1. Using deactivate Command The most common way to exit a virtual environment is by using the  deactivate  command 1 . Example: $ deactivate 2. Using source deactivate In some cases, especially with certain virtual environment management tools like  virtualenvwrapper , you might need to use the  source deactivate  command 2 . Example: $  source  deactivate To install pip, securely   download   get-pip.py   by ...

About my iPad Pro & Zoom h1 voice recorder

Watch my long term usage review of the iPad Pro 2018 model with Apple Pencil. Also, check out the Zoom h1 audio recorder & the mic stand.

About my MacBook Pro Touchbar edition & gadget updates

Watch my long term review of my Macbook Pro touchbar 2018 model !!

How to resolve VT-X is not available error in Oracle VM VirtualBox when tried to start a VM

In the Administrator elevated command prompt, paste the following command to disable Microsoft Hyper V and press  Enter : dism.exe /Online /Disable-Feature:Microsoft-Hyper-V Once the command runs successfully, close the elevated Command Prompt and restart your computer. At the next startup, open a Virtualbox machine again and see if you’re still getting the same error message.

Go lang debugger delve installation error on Mac OS: xcrun: error: invalid active developer path, missing xcrun

Today I installed Go lang on my macbook Pro and installed VS Code and the Go lang extension for it. When I tried to Run the first hello.go program from the VSCode Run menu got a prompt that Delve which is the debugger extension for Go lang to be installed. When I tried to install Delve got this strange error: Mac OS: xcrun: error: invalid active developer path, missing xcrun On looking up the internet found that running the below command on the terminal will solve the issue: Install the Xcode toolkit! Even if you had it installed before, you might have to re-register it or update it to the latest version. $ xcode-select --install If that doesn’t work, force it to reset. You’ll need  sudo  access for this one. $ sudo xcode-select --reset And voila, Delve got installed successfully using the  go get -V github.com/go-delve/delve/cmd/dlv  command and all was well. Now I am able to neatly run the Go lang programs from the Run menu of VS Code editor. Alte...