Skip to content

Installation on Current Jupyter Notebook

Mashaal Musleh edited this page Sep 9, 2019 · 5 revisions

You can use this framework with the existing installation of Jupyter Notebooks on your local machine by following this guide.

First, make sure you have npm (Node Package Manager) installed on your local machine. Then, clone the repo and install the requirements inside the notebook directory:

git clone https://github.com/qcri/collaborativedatascience.git
cd collaborativedatascience/notebook
pip install -r requirements.txt

Install & Enable Extensions:

git clone https://github.com/meshalawy/qgrid.git 
cd qgrid
pip install -e .
cd js && npm install .
jupyter nbextension install --py --symlink --sys-prefix qgrid && jupyter nbextension enable --py --sys-prefix qgrid

Start Jupyter Notebook (make sure to replace SERVER_IP with your actual server IP from step 1 in the installation guide):

cd notebook
HOST=SERVER_IP jupyter notebook

Now all you need is to import the file collaborative_data_frame.py in your notebooks. Follow the example notebooks for more information.

Clone this wiki locally