ImportError: cannot import name 'Video'
See original GitHub issueWhen I try to import ipyvolume as ipv
, this is what I get:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-15-c91028c9b05c> in <module>()
20 import seaborn as sns
21
---> 22 import ipyvolume as ipv
23
24
~/.local/lib/python3.5/site-packages/ipyvolume/__init__.py in <module>()
3
4 from . import styles
----> 5 from .widgets import *
6 from .transferfunction import *
7 from . import examples
~/.local/lib/python3.5/site-packages/ipyvolume/widgets.py in <module>()
8 import logging
9 import numpy as np
---> 10 from .serialize import array_cube_tile_serialization, array_serialization, array_sequence_serialization,\
11 color_serialization, image_serialization, texture_serialization
12 from .transferfunction import *
~/.local/lib/python3.5/site-packages/ipyvolume/serialize.py in <module>()
7 from . import utils
8 import ipywidgets
----> 9 import ipywebrtc
10 import numpy as np
11 import PIL.Image
~/.local/lib/python3.5/site-packages/ipywebrtc/__init__.py in <module>()
3 import ipywidgets as widgets
4 from ._version import version_info, __version__
----> 5 from .webrtc import *
6
7
~/.local/lib/python3.5/site-packages/ipywebrtc/webrtc.py in <module>()
10 Bool, Bytes, Dict, Instance, Int, List, TraitError, Unicode, validate
11 )
---> 12 from ipywidgets import DOMWidget, Image, Video, Audio, register, widget_serialization
13 from ipython_genutils.py3compat import string_types
14 import ipywebrtc._version
ImportError: cannot import name 'Video'
Same happens if I type jupyter nbextension enable --py --sys-prefix ipyvolume
on terminal. Any advice please?
Issue Analytics
- State:
- Created 5 years ago
- Comments:7
Top Results From Across the Web
Cannot import IPython.display.Video · Issue #1525 - GitHub
YouTubeVideo but fails to import IPython.display. ... YouTubeVideo ----> 2 from IPython.display import Video ImportError: cannot import name ...
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 >PYTHON : ImportError: Cannot import name X - YouTube
PYTHON : ImportError : Cannot import name X [ Gift : Animated Search Engine : https://www.hows.tech/p/recommended.html ] PYTHON ...
Read more >PYTHON : ImportError in importing from sklearn - YouTube
PYTHON : ImportError in importing from sklearn: cannot import name ... name check_build Note: The information provided in this video is as ...
Read more >cannot import name 'file_hash' from 'pooch.utils' - YouTube
How to resolve ImportError : cannot import name 'file_hash' from 'pooch.utils' ... Your browser can't play this video.
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 Free
Top 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
Odd, I see:
but what you import is not that version, you could check
ipywidgets.__file__
to see which it is picking up.I would advise you not to install with
pip --user <name>
anymore, avoid the use of PYTHONPATH, mv or rm your ~/.local directory and use ana/mini conda or virtualenv, that will give less of these issues.Great I could help! lets hope other will find this is they have similar issues.