0% found this document useful (0 votes)
44 views2 pages

Awesome-Panel Installation File

The document provides steps to uninstall existing packages, create a new virtual environment, install required packages like GDAL and geopandas, and finally install awesome-panel and its dependencies. It also lists some example awesome-panel apps to review the code.

Uploaded by

siva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Awesome-Panel Installation File

The document provides steps to uninstall existing packages, create a new virtual environment, install required packages like GDAL and geopandas, and finally install awesome-panel and its dependencies. It also lists some example awesome-panel apps to review the code.

Uploaded by

siva
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1) Delete all the unused virtual environments

- Delete the folder containing the venv if previously created(For windows)

2) Uninstall awesome-panel and awesome-panel-extensions and holoviews from root


pip uninstall gdal, fiona, rtree, awesome-panel, awesome-panel-extensions,
holoviews, torchvision, torch etc(whichever is present from previous failed
installation)

3) Add new venv from pycharm and configure Pycharm interpreter to the new venv
(Python 3.8)
python -m venv awesome-panel-env

4) Activate new venv through Pycharn terminal (venv/script/activate)


path\to\the\venv\Scripts> activate.bat
E:\awesome-panel-venv\Scripts>activate

5) Run: pip list and ensure that there are only 2 packages - setup, (Nothing
related to Panel should be present in the new env)

6) Download Wheel files for GDAL, Fiona, PyProj, Rtree and Shapely and install them
in the same order to the venv. Then install geopandas. (This step is only for
installing awesome panel on windows. This step can be skipped if installing awesome
panel on Ubuntu)
pip install GDAL-3.3.0-cp38-cp38-win_amd64.whl
pip install Fiona-1.8.20-cp38-cp38-win_amd64.whl
pip install pyproj-3.1.0-cp38-cp38-win_amd64.whl
pip install Rtree-0.9.7-cp38-cp38-win_amd64.whl
pip install Shapely-1.7.1-cp38-cp38-win_amd64.whl

pip install geopandas (Directly run this if on Ubuntu)

7) Install all requirements from req.txt


pip install -r requirements_local.txt -f
https://download.pytorch.org/whl/torch_stable.html

7) Run: python app.py/panel serve app.py

8) Install nodejs in root if not installed

9) Run(if holoviews throws error): export PYTHONPATH="absolutepath of project"

Code walkthrough of the following apps:


team to review the code
run awesome-panel
look at code of the following apps
- async Tasks
- Bootstrap Card
- Caching Example
- dashboard / Classic Dashboard
- Dependent Widgets
- Data Explorer Loading
- Dataframe Formatting
- ECharts (Very important) - also look at the Echarts Gallary
(https://echarts.apache.org/examples/en/index.html)
- Fast - Grid Template (responsive layout)
- Holoviews Linked Brushing (also called cross filtering)
- Loading spinners
- Material Component
- Component Explorer
- Pandas Profiling App
- Param Reference Example
- Perspective Viewer (Useful later - not now)
- Test Progress Extension
- Streaming Dashboard
- Tabular

You might also like