Panel installation problen

Hi,

I installed panel using pip (on MacOS), on top of python 3.11.5 from Homebrew. I see the following behaviour in the terminal:

$ panel serve stars.ipynb --show
ERROR: No template sub-directory with name ‘python’ found in the following paths:
/Users/ms/Library/Jupyter
/Users/ms/Library/Python/3.11/share/jupyter
/opt/homebrew/opt/python@3.11/Frameworks/Python.framework/Versions/3.11/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter

I would appreciate suggestions for resolving this!

Best,
Michael

1 Like

Hi @Michael

Welcome to the community. I’ve never seen this issue before or know what it means.

You could try some of the below

Reinstall Panel

pip uninstall panel
pip install panel

Run Panel from a new virtual environment

Create a new virtual environment and activate it. Then pip install panel and try again.

Hi @Marc – I googled some more and discovered that the message comes from nbconvert, but reinstalling that did not help, and neither did reinstalling panel. I then uninstalled all the pip-installed packages, created a virtual environment and installed panel there and now it works fine.

Thank you for your help!

1 Like

So happy you made it. Thanks for sharing the solution. It helps build the community knowledge base.