# My hvplot is broken after conda update --all

**URL:** <https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266>\
**Category:** hvPlot\
**Created:** [May 28, 2024, 1:39pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266 "2024-05-28T13:39:27Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsignell](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/rsignell/32/5855_2.png) [@rsignell](https://discourse.holoviz.org/u/rsignell)\
**Post date:** [May 28, 2024, 1:39pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/1 "2024-05-28T13:39:27Z")

</div>

I did `conda update --all today` and now `hvplot` seems broken. Anybody recognize this problem?

 ![image](https://discourse.holoviz.org/uploads/default/original/2X/9/9a9cfabbf827c847c683f6a9271d5dba5558e285.png)

```auto
(pangeo) rsignell@Elio:~$ conda list | grep -E "bokeh|pyviz|widgets|hvplot|geoviews|holoviews|panel"
bokeh 3.4.1 pyhd8ed1ab_0 conda-forge
geoviews 1.12.0 pyhd8ed1ab_0 conda-forge
geoviews-core 1.12.0 pyha770c72_0 conda-forge
holoviews 1.18.3 pyhd8ed1ab_0 conda-forge
hvplot 0.10.0 pyhd8ed1ab_0 conda-forge
ipywidgets 8.1.3 pyhd8ed1ab_0 conda-forge
jupyter-panel-proxy 0.1.0 py_0 conda-forge
jupyter_bokeh 4.0.4 pyhd8ed1ab_0 conda-forge
jupyterlab_widgets 3.0.11 pyhd8ed1ab_0 conda-forge
panel 1.4.3 pyhd8ed1ab_0 conda-forge
pyviz_comms 3.0.2 pyhd8ed1ab_1 conda-forge
widgetsnbextension 4.0.11 pyhd8ed1ab_0 conda-forge

```

---

<div class="post-metadata">

**Author:** ![Hoxbro](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/hoxbro/32/3590_2.png) [@Hoxbro](https://discourse.holoviz.org/u/Hoxbro)\
**Post date:** [May 28, 2024, 1:50pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/2 "2024-05-28T13:50:57Z")

</div>

It seems to be the same issue as [some widgets like CrossSelector and MultiSelect broken in 1.4.3 · Issue #6865 · holoviz/panel · GitHub](https://github.com/holoviz/panel/issues/6865)

---

<div class="post-metadata">

**Author:** ![Fathom-mgray](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/fathom-mgray/32/6253_2.png) [@Fathom-mgray](https://discourse.holoviz.org/u/Fathom-mgray)\
**Post date:** [May 28, 2024, 1:59pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/3 "2024-05-28T13:59:48Z")

</div>

Just updated everything to the same versions as you and updated conda. I have no issues, but I also don’t have `jupyter-panel-proxy` installed. My understanding is the proxy server is only launched when you try to visit the corresponding endpoint, but is it possible there are some other interactions?

---

<div class="post-metadata">

**Author:** ![rsignell](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/rsignell/32/5855_2.png) [@rsignell](https://discourse.holoviz.org/u/rsignell)\
**Post date:** [May 28, 2024, 2:55pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/4 "2024-05-28T14:55:57Z")

</div>

I tried removing `jupyter-panel-proxy` but still have same problem.

---

<div class="post-metadata">

**Author:** ![rsignell](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/rsignell/32/5855_2.png) [@rsignell](https://discourse.holoviz.org/u/rsignell)\
**Post date:** [May 28, 2024, 2:56pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/5 "2024-05-28T14:56:33Z")

</div>

It’s not clear to me from that issue what packages I should try downgrading. Do you know?

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [May 28, 2024, 3:00pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/6 "2024-05-28T15:00:43Z")

</div>

These are my versions:

```python

bokeh 3.4.0 pypi_0 pypi
geoviews 1.12.0 pypi_0 pypi
holoviews 1.18.3 pypi_0 pypi
hvplot 0.10.0 pypi_0 pypi
ipywidgets 8.1.1 pyhd8ed1ab_0 conda-forge
ipywidgets_bokeh 1.5.0 py_0 bokeh
jupyter-bokeh 4.0.4 pypi_0 pypi
jupyterlab_widgets 3.0.9 pyhd8ed1ab_0 conda-forge
panel 1.4.0a3.post201+gdefe76aa.dirty pypi_0 pypi
panel-chat-examples 0.0.0 pypi_0 pypi
pyviz_comms 2.3.2 py_0 pyviz/label/dev
widgetsnbextension 4.0.9 pyhd8ed1ab_0 conda-forge

```

---

<div class="post-metadata">

**Author:** ![Hoxbro](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/hoxbro/32/3590_2.png) [@Hoxbro](https://discourse.holoviz.org/u/Hoxbro)\
**Post date:** [May 28, 2024, 3:07pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/7 "2024-05-28T15:07:44Z")

</div>

Try downgrading Panel to 1.4.2.

---

<div class="post-metadata">

**Author:** ![rsignell](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/rsignell/32/5855_2.png) [@rsignell](https://discourse.holoviz.org/u/rsignell)\
**Post date:** [May 28, 2024, 3:24pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/8 "2024-05-28T15:24:02Z")

</div>

I tried downgrading panel to 1.4.2, but didn’t work.  
And I’m confused: I’m only using hvplot – why is panel even involved?

 ![image](https://discourse.holoviz.org/uploads/default/original/2X/0/059bae7c28887af3a89be9e754e0c9929117f4b7.png)

---

<div class="post-metadata">

**Author:** ![rsignell](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/rsignell/32/5855_2.png) [@rsignell](https://discourse.holoviz.org/u/rsignell)\
**Post date:** [May 28, 2024, 3:27pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/9 "2024-05-28T15:27:26Z")

</div>

Aha! Downgrading to `pyviz_comms==2.3.2` fixed the problem for me. Thanks @ahuang11 !

---

<div class="post-metadata">

**Author:** ![Hoxbro](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/hoxbro/32/3590_2.png) [@Hoxbro](https://discourse.holoviz.org/u/Hoxbro)\
**Post date:** [May 28, 2024, 3:46pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/10 "2024-05-28T15:46:24Z")

</div>

> [@rsignell](#):
>
> I’m only using hvplot – why is panel even involved?

Panel handles the communication between Python and Jupyter. Also what makes the widgets.

---

<div class="post-metadata">

**Author:** ![rsignell](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/rsignell/32/5855_2.png) [@rsignell](https://discourse.holoviz.org/u/rsignell)\
**Post date:** [May 28, 2024, 4:15pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/11 "2024-05-28T16:15:57Z")

</div>

Ah, okay! While we are at it, what does pyviz\_comms do? That sounds like communication also!

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [May 28, 2024, 7:39pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/12 "2024-05-28T19:39:42Z")

</div>

Hmm, testing Jupyter lab and downgrading pyviz\_comms doesn’t seem to work for me.

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [May 28, 2024, 8:51pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/13 "2024-05-28T20:51:00Z")

</div>

After testing a lot of package variations, pinning `pip install panel!=1.4.3` works.

---

<div class="post-metadata">

**Author:** ![ahuang11](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/ahuang11/32/4947_2.png) [@ahuang11](https://discourse.holoviz.org/u/ahuang11)\
**Post date:** [May 29, 2024, 4:01pm UTC](https://discourse.holoviz.org/t/my-hvplot-is-broken-after-conda-update-all/7266/14 "2024-05-29T16:01:55Z")

</div>

See this issue

> <https://github.com/holoviz/panel/issues/6865>
>
> \#### ALL software version info
> OS: win10
> Jupyter Lab Version 4.1.5
> bokeh vers…ion: 3.4.1
> Python version: 3.9.13
> 
> 
> 
> \#### Description of expected behavior and the observed behavior
> 
> 
> \#### Complete, minimal, self-contained example code that reproduces the issue
> 
> \`\`\`python
> multi\_select = pn.widgets.MultiSelect(name='MultiSelect', value=\['Apple', 'Pear'\],
> options=\['Apple', 'Banana', 'Pear', 'Strawberry'\], size=8)
> 
> multi\_select
> \`\`\`
> 
> \`\`\`python
> Traceback (most recent call last):
> File "C:\\PythonCodes\\SEVToolBox\\sev\_tools\_env\\sevtoolboxenv\\lib\\site-packages\\pyviz\_comms\\\_\_init\_\_.py", line 340, in \_handle\_msg
> self.\_on\_msg(msg)
> File "C:\\PythonCodes\\SEVToolBox\\sev\_tools\_env\\sevtoolboxenv\\lib\\site-packages\\panel\\viewable.py", line 469, in \_on\_msg
> patch = manager.assemble(msg)
> File "C:\\PythonCodes\\SEVToolBox\\sev\_tools\_env\\sevtoolboxenv\\lib\\site-packages\\panel\\models\\comm\_manager.py", line 29, in assemble
> msg\_obj = cls(header, msg\['metadata'\], msg\['content'\])
> KeyError: 'content'
> \`\`\`
> 
> 
> 
> \#### Stack traceback and/or browser JavaScript console output
> !\[image\](https://github.com/holoviz/panel/assets/39994570/3f994721-490a-402a-8afe-9d9b67c672bc)
> 
> \#### Screenshots or screencasts of the bug in action
> !\[image\](https://github.com/holoviz/panel/assets/39994570/ce2106d5-a2e2-4788-bb26-c329de8ceec0)
> 
> 
> \- \[\] I may be interested in making a pull request to address this
