importerror: cannot import name 'qual_palettes'
See original GitHub issueWhen I use Anaconda JupyterNotebook, I import this seaborn but there are something wrong with this ‘QUAL_PALETTES’, I tried install palettes but it still doesn’t work. There was little solution when I googled.
ImportError Traceback (most recent call last)
<ipython-input-108-c7666d0a9133> in <module>()
46 from sklearn.linear_model import LassoCV
47
---> 48 import seaborn as sns
49
50 import mglearn
D:\anaconda\envs\tensorflow\lib\site-packages\seaborn\__init__.py in <module>()
3 from .utils import * # noqa: F401,F403
4 from .palettes import * # noqa: F401,F403
----> 5 from .relational import * # noqa: F401,F403
6 from .regression import * # noqa: F401,F403
7 from .categorical import * # noqa: F401,F403
D:\anaconda\envs\tensorflow\lib\site-packages\seaborn\relational.py in <module>()
6 import matplotlib.pyplot as plt
7
----> 8 from ._core import (
9 VectorPlotter,
10 )
D:\anaconda\envs\tensorflow\lib\site-packages\seaborn\_core.py in <module>()
15 share_init_params_with_map,
16 )
---> 17 from .palettes import (
18 QUAL_PALETTES,
19 color_palette,
ImportError: cannot import name 'QUAL_PALETTES'
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
ImportError: cannot import name 'QUAL_PALETTES' · Issue ...
I think this error doesn't come from FinRL. QUAL_PALETTES is a module inside seaborn. This error could occur due to your unsuccessful ...
Read more >How to Fix ImportError: Cannot Import Name in Python - Rollbar
The Python ImportError: cannot import name error occurs when an imported class is not accessible or is in a circular dependency.
Read more >ImportError when attempting to use Seaborn - Stack Overflow
Get the error below when trying to use Seaborn within Juptyer Notebook ... 19 color_palette, ImportError: cannot import name 'QUAL_PALETTES'.
Read more >How to Fix : “ImportError: Cannot import name X” in Python
In Python "ImportError: cannot import name" error generally occurs when the imported class is not accessible, or the imported class is in a...
Read more >How to Fix : “ImportError: Cannot import name X” in Python?
You can solve the “ ImportError : Cannot import name X” Error by resolving the circular dependencies. You can do that either by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks! After I restart the kernal it works fine now!
Did you restart your kernel?