-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Import Holoviews #5244
Comments
I have a similar (?) issue trying to import the package in a fresh pipenv (from PyPI):
|
Thanks you two! @BrandonSLockey Could you report panel and holoviews versions? @MichaelGiazi How did you install holoviews? Can you install jinja2? |
Yes, it was jinja2, this fails:
but using |
from the Jinja2 3.1.0 releasenotes:
Seems that markup is not provided by jinja2 anymore and should be imported from markupsafe:
|
Fixed in holoviz/panel#3258. There's now also a 0.13.0a46 dev release available with the fix. Hope to have a real release out very soon. |
Panel 0.12.7 is now available on PyPI and from the conda pyviz and conda-forge channels. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc)
Description of expected behavior and the observed behavior
Im trying to install holoviews for UMAP
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
import holoviews as hv
Traceback (most recent call last):
File "C:\Users\brand\AppData\Local\Temp/ipykernel_1540/4081495914.py", line 1, in
import holoviews as hv
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\holoviews_init_.py", line 12, in
from .annotators import annotate # noqa (API import)
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\holoviews\annotators.py", line 10, in
from panel.pane import PaneBase
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel_init_.py", line 1, in
from . import layout # noqa
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel\layout_init_.py", line 1, in
from .accordion import Accordion # noqa
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel\layout\accordion.py", line 5, in
from .base import NamedListPanel
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel\layout\base.py", line 13, in
from ..reactive import Reactive
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel\reactive.py", line 26, in
from .config import config
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel\config.py", line 21, in
from .io.notebook import load_notebook
File "C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel\io_init_.py", line 9, in
from ..config import config
ImportError: cannot import name 'config' from partially initialized module 'panel.config' (most likely due to a circular import) (C:\Users\brand\anaconda3\envs\SALIB\lib\site-packages\panel\config.py)
Screenshots or screencasts of the bug in action
cannot import name 'config' from partially initialized module 'panel.config' (most likely due to a circular import)
The text was updated successfully, but these errors were encountered: