This is a guide how to use ElasticSearch with Python and Jupyter.
To make the Jupyter works on my environment, I want to create a “miniconda” virtual environment, which caused error with “pyenv”. Here is the instructions how to make it work.
pyenv local miniconda3-4.3.30
conda update conda
conda create -n es python=3.6
# This will add code to your "~/.zshrc" file.# The added code will make each terminal use "miniconda" as default,# which overrides the existing "pyenv". I commented out the snippetin the "~/.zshrc" file when I didn't use conda.
conda init zsh
conda activate es
conda install elasticsearch
conda install jupyter
The following links are also used to get the final solution: