Skip to content

Instantly share code, notes, and snippets.

@richardsalex
Last active October 18, 2016 16:04
Show Gist options
  • Save richardsalex/8afe679b8ba3e5e3c305bbbd33d96126 to your computer and use it in GitHub Desktop.
Save richardsalex/8afe679b8ba3e5e3c305bbbd33d96126 to your computer and use it in GitHub Desktop.
Fix stale virtualenv symlinks after Homebrew Python upgrade

From a comment by user laymonk...

The simple fix involves just cd'ing into the virtualenv, and deleting all the stale links to the upgraded python by running: find . -type l -delete

(return to home dir)

.. and then re-installing your virtualenv: mkvirtualenv venv-name

To keep R working in Jupyter after an upgrade: Instructions here.

install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
devtools::install_github('IRkernel/IRkernel')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment