Installation

In notebook directly

Jupyter notebook’s underlying IPython kernel provides a simple way to communicate with pip via magic functions (%pip).

# pip directly
%pip install taste

# command invoking syntax
!pip install taste

Console

As with any modern Python package, use pip:

pip install taste

# or on platforms with pip3 alias
pip3 install taste

Proxy

Some users require to use a proxy to interact with the Internet, one of the common approaches is to use an Environment variable.

  • Notebook:

    In [1]:
        from os import environ
        environ["https_proxy"] = "<your proxy>"
    
    In [2]:
        %pip install taste
    
    Out [2]:
        Collecting taste
        ...
    
  • GNU/Linux or MacOS:

    https_proxy=<your proxy> pip install taste
    
  • Windows:

    set https_proxy=<your proxy>
    pip install taste