Skip to content

Instantly share code, notes, and snippets.

View stranljip's full-sized avatar

Carsten Heidmann stranljip

  • Disy Informationssysteme GmbH
  • Deutschland
View GitHub Profile
@porterjamesj
porterjamesj / fix-venv.sh
Created October 2, 2016 22:10 — forked from pv8/fix-venv.sh
Fix virtualenv symlinks after upgrading python with Homebrew and running brew cleanup
#!/usr/bin/env bash
#
# Fix virtualenv symlinks after upgrading python with Homebrew and then running
# `cleanup`.
#
# After upgrading Python using Homebrew and then running `brew cleanup` one can
# get this message while trying to run python:
# dyld: Library not loaded: @executable_path/../.Python
# Referenced from: /Users/pablo/.venv/my-app/bin/python
# Reason: image not found