panel
panel copied to clipboard
Wrong packages listed when panel converting the videostream example
I'm on panel==1.3.6. When trying to panel convert video_stream.py --to pyodide-worker there are some issues identifying the relevant packages.
import base64
import io
import time
import numpy as np
import param
import PIL
import skimage
from PIL import Image, ImageFilter
from skimage import data, filters
from skimage.color.adapt_rgb import adapt_rgb, each_channel
from skimage.draw import rectangle
from skimage.exposure import rescale_intensity
from skimage.feature import Cascade
import panel as pn
import sys
This is what is identified
const env_spec = ['https://cdn.holoviz.org/panel/wheels/bokeh-3.3.2-py3-none-any.whl', 'https://cdn.holoviz.org/panel/1.3.6/dist/wheels/panel-1.3.6-py3-none-any.whl', 'pyodide-http==0.2.1', 'PIL', 'numpy', 'param', 'skimage']
This is what should be identified
const env_spec = ['https://cdn.holoviz.org/panel/wheels/bokeh-3.3.2-py3-none-any.whl', 'https://cdn.holoviz.org/panel/1.3.6/dist/wheels/panel-1.3.6-py3-none-any.whl', 'pyodide-http==0.2.1', 'numpy', 'param', 'scikit-image']
i.e. PIL should not be included. And skimage should be scikit-image.
excuse me, so what the hell is 'skimage'
skimage is the name of the import for scikit-image.