In order to avoid potential conflicts with other packages when installing bamboolb, it is strongly recommended to use a virtual environment, e.g. virtualenv or conda environments. Using an isolated environment makes it possible to install a specific version of bamboolib and its dependencies independently of any previously installed Python packages.
Install bamboolib for Jupyter Notebook or Jupyter Lab by running the code below in your terminal (or Anaconda Prompt for Windows):
pip install --upgrade bamboolib --user​# Jupyter Notebook extensionspython -m bamboolib install_nbextensions​# JupyterLab extensionspython -m bamboolib install_labextensions
After you have installed bamboolib, you can go here to test bamboolib.
If you are using Anaconda, you can create a virtual environment and install bamboolib with the code below.
In the terminal (or Anaconda Prompt if you use Windows) enter the following:
# Create conda environmentconda create -n bamboolib python=3.7 -y​# Activate the environmentconda activate bamboolib​# Add the IPython kernel to Jupyterconda install jupyter -yconda install ipykernel -ypython -m ipykernel install --user --name bamboolib​# Run this if you use Jupyterlabconda install jupyterlab -y​# Install bamboolib ...pip install --upgrade bamboolib --user​# Jupyter Notebook extensionspython -m bamboolib install_nbextensions​# Run this if you use Jupyterlab: JupyterLab extensionspython -m bamboolib install_labextensions
Finally, you can test bamboolib here.
In the terminal (or Anaconda Prompt if you use Windows) enter the following:
# Create virtual envvirtualenv bamboolib_venv​# Activate the environmentsource bamboolib_venv/bin/activate​# Add the IPython kernel to Jupyteripython kernel install --user --name=bamboolib_venv​# Install bamboolib ...pip install --upgrade bamboolib --user​# Jupyter Notebook extensionspython -m bamboolib install_nbextensions​# JupyterLab extensionspython -m bamboolib install_labextensions
Afterwards, you can test bamboolib.