Explore >> Select a destination


You are here

brettterpstra.com
| | emmanuelbernard.com
13.5 parsecs away

Travel
| | tl;dr; using powerline and having it fail after a homebrew update? Read on. If you have tuned a bit your terminal in macOS, you might be using Powerline. It prettities your command line enough to warrant some trouble installing it. And it does it to vim status lines too. Now if you also use homebrew, every so often you see something like this when starting a new terminal window -bash: /usr/local/bin/powerline-daemon: /usr/local/opt/python/bin/python3.6: bad interpreter: No such file or directory I always fiddle with things until I get it fixed again. So here it is reported for posterity. The Python interpreter has been updated behind your back and the installed modules end up referencing the old interpreter. For powerline, here are the steps pip uninstall -y powerline-status brew update && brew upgrade python pip install powerline-status Note that I use Python 2 and not Python 3. From what I remember, I had troubles making it run properly on v3. Here is a more generic solution, courtesy of bnaecker at StackOverflow. pip list | cut -d " " -f 1 > package-list.txt # Store package names without versions pip uninstall -y $(cat package-list.txt) # Cannot use redirection brew update && brew upgrade python pip install $(cat package-list.txt) Back to work.
| | soffes.com
13.2 parsecs away

Travel
| | I've been using Homebrew on Apple Silicon for a few weeks now and it's been working well. With Ruby 3.0.0, I haven't had any issues installing it...
| | soffes.blog
9.1 parsecs away

Travel
| | Today, my new 13-inch MacBook Pro arrived! I was super excited to get it out of the box and set it up. This thing is fast! I am already very...
| | www.babaei.net
130.6 parsecs away

Travel
| Update 1 [2016/09/30]: A section has been added to the end of the article for dealing with major FreeBSD upgrades. Update 2 [2016/09/30]: A section has been added to the end of the article for upgrading current installation of Discourse to newer versions. Update 3 [2016/09/30]: A section has been added to the end of the article for installing Discourse under Ruby version managers which is required for dealing with newer versions of Discourse since the current system-wide version of Ruby on FreeBSD is 2.2...