Installation¶
To get started with ipycytoscape, install with pip:
pip install ipycytoscape
or with conda/mamba:
conda install -c conda-forge ipycytoscape
# or with mamba
mamba install -c conda-forge ipycytoscape
JupyterLab¶
In order to install the JupyterLab extension jupyter-cytoscape, you will first need to install nodejs, you can install it with conda by doing
The jupyer-cytoscape
labextension should have been automatically installed for you when you installed
the Python package, but you still need to install the JupyterLab widget manager:
Old version of Jupyter notebook¶
If you installed via pip, and use Juptyer Notebook with a version < 5.3, you will also have to install / configure the front-end extension as well. If you are using classic notebook (as opposed to Jupyterlab), run:
jupyter nbextension install [--sys-prefix / --user / --system] --py ipycytoscape
jupyter nbextension enable [--sys-prefix / --user / --system] --py ipycytoscape
with the appropriate flag.
If you are installing using conda, these commands should be unnecessary, but If
you need to run them the commands should be the same (just make sure you choose the
--sys-prefix
flag).