You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect to be able to panel convert apps without having all the dependencies installed. I would only expect it to be nescessary for prerending. But it seems not to be the case.
panel convert script.py --skip-embed
ERROR:bokeh.application.application:Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x7f25bac38ca0>: No module named 'textblob'
File 'script.py', line 2, in<module>:
import textblob Traceback (most recent call last):
File "/home/jovyan/repos/private/awesome-panel/panel-sharing/.venv/lib/python3.9/site-packages/bokeh/application/handlers/code_runner.py", line 231, in run
exec(self._code, module.__dict__)
File "/home/jovyan/repos/private/awesome-panel/panel-sharing/script.py", line 2, in<module>
import textblob
ModuleNotFoundError: No module named 'textblob'
Failed to convert script.py to pyodide target: The file script.py does not publish any Panel contents. Ensure you have marked items as servable or added models to the bokeh document manually.
$ panel convert script.py --skip-embed
ERROR:bokeh.application.application:Error running application handler <bokeh.application.handlers.script.ScriptHandler object at 0x7f1c55106c70>: No module named 'textblob'
File 'script.py', line 4, in<module>:
import textblob Traceback (most recent call last):
File "/home/jovyan/repos/private/awesome-panel/panel-sharing/.venv/lib/python3.9/site-packages/bokeh/application/handlers/code_runner.py", line 231, in run
exec(self._code, module.__dict__)
File "/home/jovyan/repos/private/awesome-panel/panel-sharing/script.py", line 4, in<module>
import textblob
ModuleNotFoundError: No module named 'textblob'
Successfully converted script.py to pyodide target and wrote output to script.html.
panel==0.14.1
I would expect to be able to
panel convert
apps without having all the dependencies installed. I would only expect it to be nescessary for prerending. But it seems not to be the case.Additional Context
I am trying to get Panel Sharing to be more robust. @sophiamyang broke it as soon as she started trying it out in preparation for her New York talk. See awesome-panel/panel-sharing#22 and awesome-panel/panel-sharing#23
The text was updated successfully, but these errors were encountered: