Skip to content

Extra step needed to install packages from Jupyter Notebook #4

@gaurav

Description

@gaurav

The current command for installing packages from Jupyter Notebook didn't work for me -- it installed into my pyenv installation, so my Jupyter Notebook couldn't see it:

pip install opentree

Instead, I followed the steps listed at https://jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/#How-to-use-Pip-from-the-Jupyter-Notebook:

import sys
!{sys.executable} -m pip install opentree

That worked!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions