Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
holoviz
GitHub Repository: holoviz/panel
Path: blob/main/doc/getting_started/installation.md
3199 views

{octicon}desktop-download;2em;sd-mr-1 Installation

conda pyviz badge conda defaults badge PyPI badge License badge

Panel is compatible with Python 3.9 or later and works seamlessly on Linux, Windows, and Mac.

Setup

:::::{tab-set}

::::{tab-item} pip :sync: pip

:::{note} Before proceeding, ensure you have Python installed on your system. If not, you can download and install Python from Python.org.

When using pip, it's important to keep your default Python environment clean. Utilize virtual environments to isolate your projects effectively. :::

::::

::::{tab-item} conda :sync: conda

:::{note} Before proceeding, make sure you have either Anaconda or Miniconda installed on your system. If not, you can find installation instructions here.

When using conda, it's crucial to maintain a clean base environment. Consider creating separate environments to manage your projects efficiently. :::

::::

:::::

Installing Panel

Now, let's get Panel installed on your system.

:::::{tab-set}

::::{tab-item} pip :sync: pip

pip install panel watchfiles

::::

::::{tab-item} conda :sync: conda

conda install panel watchfiles

::::

:::::

:::{tip} We recommend also installing watchfiles while developing. This will provide a significantly better experience when using Panel's autoreload features when activating --dev mode. It's not needed for production. :::

:::{tip}

To incorporate highlighted code sections into your app, you'll need to install pygments, a powerful syntax highlighting library. :::

:::{important} Make sure Panel is installed in the same environment as JupyterLab/Jupyter Notebook (pip install panel or conda install panel) to ensure all features work correctly. :::

:::{seealso} If you plan to use Panel in a non-Jupyter notebook environment, such as Google Colab or VSCode, refer to the relevant how-to section. :::

Next Steps

Now that you have installed Panel, let's build a simple application.