Skip to content

Instantly share code, notes, and snippets.

@richardsalex
Last active October 18, 2016 16:04
Show Gist options
  • Select an option

  • Save richardsalex/8afe679b8ba3e5e3c305bbbd33d96126 to your computer and use it in GitHub Desktop.

Select an option

Save richardsalex/8afe679b8ba3e5e3c305bbbd33d96126 to your computer and use it in GitHub Desktop.

Revisions

  1. richardsalex revised this gist Oct 18, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion virtualenv_fix.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ The simple fix involves just cd'ing into the virtualenv, and deleting all the st
    (return to home dir)

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

    **To keep R working in Jupyter after an upgrade:**
    Instructions [here](https://irkernel.github.io/installation/).
  2. richardsalex revised this gist Oct 18, 2016. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion virtualenv_fix.md
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@ The simple fix involves just cd'ing into the virtualenv, and deleting all the st
    **To keep R working in Jupyter after an upgrade:**
    Instructions [here](https://irkernel.github.io/installation/).

    ```install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
    ```
    install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
    devtools::install_github('IRkernel/IRkernel')
    ```
  3. richardsalex revised this gist Oct 18, 2016. 1 changed file with 9 additions and 2 deletions.
    11 changes: 9 additions & 2 deletions virtualenv_fix.md
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,16 @@
    From laymonk...
    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` or `virtualenv venv-name`
    `mkvirtualenv venv-name` or `virtualenv venv-name`

    **To keep R working in Jupyter after an upgrade:**
    Instructions [here](https://irkernel.github.io/installation/).

    ```install.packages(c('repr', 'IRdisplay', 'evaluate', 'crayon', 'pbdZMQ', 'devtools', 'uuid', 'digest'))
    devtools::install_github('IRkernel/IRkernel')
    ```
  4. richardsalex created this gist Oct 18, 2016.
    9 changes: 9 additions & 0 deletions virtualenv_fix.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    From 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` or `virtualenv venv-name`