Open isaacgg opened 5 years ago
I assume classical notebook, not jupyter lab right? Can you give me the output or a screenshot (color helps) of:
$ jupyter nbextension list --log-level=DEBUG
I've got the same issue, and this is my nbextension list:
Searching ['/Users/bb', '/Users/bb/.jupyter', '/Users/bb/anaconda2/envs/py36_180417/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /Users/bb/anaconda2/envs/py36_180417/etc/jupyter
Looking for jupyter_config in /Users/bb/.jupyter
Looking for jupyter_config in /Users/bb
Looking for jupyter nbextension list_config in /etc/jupyter
Looking for jupyter nbextension list_config in /usr/local/etc/jupyter
Looking for jupyter nbextension list_config in /Users/bb/anaconda2/envs/py36_180417/etc/jupyter
Looking for jupyter nbextension list_config in /Users/bb/.jupyter
Looking for jupyter nbextension list_config in /Users/bb
Known nbextensions:
Paths used for configuration of common:
/Users/bb/.jupyter/nbconfig/common.json
Paths used for configuration of notebook:
/Users/bb/.jupyter/nbconfig/notebook.json
Paths used for configuration of tree:
/Users/bb/.jupyter/nbconfig/tree.json
Paths used for configuration of edit:
/Users/bb/.jupyter/nbconfig/edit.json
Paths used for configuration of terminal:
/Users/bb/.jupyter/nbconfig/terminal.json
Paths used for configuration of common:
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/common.json
Paths used for configuration of notebook:
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/notebook.d/ipyvolume.json
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/notebook.d/ipywebrtc.json
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/notebook.d/jupyter-datawidgets.json
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/notebook.d/jupyter-threejs.json
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/notebook.d/plotlywidget.json
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/notebook.json
config dir: /Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig
notebook section
ipyvolume/extension enabled
- Validating: OK
jupyter-webrtc/extension enabled
- Validating: OK
jupyter-datawidgets/extension enabled
- Validating: OK
jupyter-threejs/extension enabled
- Validating: OK
plotlywidget/extension enabled
- Validating: OK
jupyter-js-widgets/extension enabled
- Validating: OK
nbpresent/js/nbpresent.min enabled
- Validating: OK
nb_conda/main enabled
- Validating: OK
nglview-js-widgets/extension enabled
- Validating: OK
Paths used for configuration of tree:
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/tree.json
tree section
nb_conda/tree enabled
- Validating: OK
Paths used for configuration of edit:
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/edit.json
Paths used for configuration of terminal:
/Users/bb/anaconda2/envs/py36_180417/etc/jupyter/nbconfig/terminal.json
Paths used for configuration of common:
/usr/local/etc/jupyter/nbconfig/common.json
Paths used for configuration of notebook:
/usr/local/etc/jupyter/nbconfig/notebook.json
Paths used for configuration of tree:
/usr/local/etc/jupyter/nbconfig/tree.json
Paths used for configuration of edit:
/usr/local/etc/jupyter/nbconfig/edit.json
Paths used for configuration of terminal:
/usr/local/etc/jupyter/nbconfig/terminal.json
Paths used for configuration of common:
/etc/jupyter/nbconfig/common.json
Paths used for configuration of notebook:
/etc/jupyter/nbconfig/notebook.json
Paths used for configuration of tree:
/etc/jupyter/nbconfig/tree.json
Paths used for configuration of edit:
/etc/jupyter/nbconfig/edit.json
Paths used for configuration of terminal:
/etc/jupyter/nbconfig/terminal.json
Thanks man, it looks really awesome! Can't wait to use it.
@BastiaanBergman this config looks good, do you happen to use a different kernel than the environment that the jupyter notebook is running in? (For instance, jupyter notebook in the root env, while ipyvolume only installed in the env of the kernel?).
Thanks man, it looks really awesome! Can't wait to use it.
Thanks :)
It was running in the right kernel, and I did restart the kernel after installation. Restarting the notebook server did it, so it's working now! Thanks!
It usually does not need a server restart, a page refresh should do it. Happy to hear it is working though!. Hope @isaacgg got it working as well.
I assume classical notebook, not jupyter lab right? Can you give me the output or a screenshot (color helps) of:
$ jupyter nbextension list --log-level=DEBUG
Hey, sorry for the late reply. This is my output
`Searching ['D:\\TrabajoFinDeMaster', 'C:\\Users\\isaac\\.jupyter', 'C:\\Users\\isaac\\Anaconda3\\envs\\tensorflow-gpu-safe\\etc\\jupyter', 'C:\\ProgramData\\jupyter'] for config files
Looking for jupyter_config in C:\ProgramData\jupyter
Looking for jupyter_config in C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter
Looking for jupyter_config in C:\Users\isaac\.jupyter
Looking for jupyter_config in D:\TrabajoFinDeMaster
Looking for jupyter nbextension list_config in C:\ProgramData\jupyter
Looking for jupyter nbextension list_config in C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter
Looking for jupyter nbextension list_config in C:\Users\isaac\.jupyter
Looking for jupyter nbextension list_config in D:\TrabajoFinDeMaster
Known nbextensions:
Paths used for configuration of common:
C:\Users\isaac\.jupyter\nbconfig\common.json
Paths used for configuration of notebook:
C:\Users\isaac\.jupyter\nbconfig\notebook.json
config dir: C:\Users\isaac\.jupyter\nbconfig
notebook section
ipyvolume/extension enabled
- Validating: problems found:
- require? X ipyvolume/extension
jupyter-js-widgets/extension enabled
- Validating: ok
Paths used for configuration of tree:
C:\Users\isaac\.jupyter\nbconfig\tree.json
Paths used for configuration of edit:
C:\Users\isaac\.jupyter\nbconfig\edit.json
Paths used for configuration of terminal:
C:\Users\isaac\.jupyter\nbconfig\terminal.json
Paths used for configuration of common:
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\common.json
Paths used for configuration of notebook:
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\notebook.d\ipywebrtc.json
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\notebook.d\jupyter-datawidgets.json
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\notebook.d\jupyter-threejs.json
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\notebook.d\widgetsnbextension.json
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\notebook.json
config dir: C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig
notebook section
jupyter-threejs/extension enabled
- Validating: ok
jupyter-webrtc/extension enabled
- Validating: ok
jupyter-datawidgets/extension enabled
- Validating: ok
jupyter-js-widgets/extension enabled
- Validating: ok
Paths used for configuration of tree:
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\tree.json
Paths used for configuration of edit:
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\edit.json
Paths used for configuration of terminal:
C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\terminal.json
Paths used for configuration of common:
C:\ProgramData\jupyter\nbconfig\common.json
Paths used for configuration of notebook:
C:\ProgramData\jupyter\nbconfig\notebook.json
Paths used for configuration of tree:
C:\ProgramData\jupyter\nbconfig\tree.json
Paths used for configuration of edit:
C:\ProgramData\jupyter\nbconfig\edit.json
Paths used for configuration of terminal:
C:\ProgramData\jupyter\nbconfig\terminal.json`
There is something funny going on, how you installed ipyvolume. I see you are using the anaconda env tensorflow-gpu-safe, and in that, I see ipywebrtc are installed and enabled (C:\Users\isaac\Anaconda3\envs\tensorflow-gpu-safe\etc\jupyter\nbconfig\notebook.d\ipywebrtc.json) But ipyvolume is enabled as user (In config dir: C:\Users\isaac.jupyter\nbconfig). How did you install ipyvolume (pip install --user maybe?)? I think you should reinstall it and you should see the same .json file for ipyvolume is this log.
Yes! I used --user because I was getting a permission denied error without it. I'm going to try again Thanks!
Ok, I was able to install with pip it but now I'm having this
I have installed ipyvolume 0.5.1ImportError: cannot import name 'Video'
when I do import ipyvolume
I did conda install -c conda-forge ipywebrtc
and now I'm getting AttributeError: module 'ipyvolume' has no attribute '_version'
when I do import ipyvolume
.
Conda installed ipywebrtc 0.2.1
Upgrade ipywidgets, that should help I think
(from mobile phone)
On Thu, 8 Nov 2018, 21:34 Isaac González González <notifications@github.com wrote:
Ok, I was able to install with pip it but now I'm having this ImportError: cannot import name 'Video' when I do import ipyvolume I have installed ipyvolume 0.5.1
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/maartenbreddels/ipyvolume/issues/203#issuecomment-437146068, or mute the thread https://github.com/notifications/unsubscribe-auth/ABryPdIpCxuamdscv-Dtk_-RbPjQP5gwks5utJVLgaJpZM4YQBE0 .
It turns out that my anaconda installation was pretty messed up. Fresh installation solved the problem. Thanks!
Great to hear it is working, enjoy ipyvolume!
(from mobile phone)
On Sat, 10 Nov 2018, 00:12 Isaac González González <notifications@github.com wrote:
It turns out that my anaconda installation was pretty messed up. Fresh installation solved the problem. Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/maartenbreddels/ipyvolume/issues/203#issuecomment-437524557, or mute the thread https://github.com/notifications/unsubscribe-auth/ABryPR-Av09KpwjS3jLhwgWt6cg2bRXFks5utgvNgaJpZM4YQBE0 .
Hey @maartenbreddels - we're trying to:
!jupyter nbextension enable --debug --py --user ipyvolume
but we're getting:
`Searching ['/Users/syrus/Desktop/ELK/geoviz', '/Users/syrus/.jupyter', '/usr/local/Cellar/python@3.9/3.9.2_1/Frameworks/Python.framework/Versions/3.9/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
Looking for jupyter_config in /etc/jupyter
Looking for jupyter_config in /usr/local/etc/jupyter
Looking for jupyter_config in /usr/local/Cellar/python@3.9/3.9.2_1/Frameworks/Python.framework/Versions/3.9/etc/jupyter
Looking for jupyter_config in /Users/syrus/.jupyter
Looking for jupyter_config in /Users/syrus/Desktop/ELK/geoviz
Looking for jupyter_notebook_config in /etc/jupyter
Looking for jupyter_notebook_config in /usr/local/etc/jupyter
Looking for jupyter_notebook_config in /usr/local/Cellar/python@3.9/3.9.2_1/Frameworks/Python.framework/Versions/3.9/etc/jupyter
Looking for jupyter_notebook_config in /Users/syrus/.jupyter
Looking for jupyter_notebook_config in /Users/syrus/Desktop/ELK/geoviz
Enabling notebook extension ipyvolume/extension...
Paths used for configuration of notebook:
/Users/syrus/.jupyter/nbconfig/notebook.json
Paths used for configuration of notebook:
- Validating: problems found:
- require? X ipyvolume/extension
Paths used for configuration of notebook: /Users/syrus/.jupyter/nbconfig/notebook.json`
-- we tried literally every possible solution from any forum we could find. Thanks for the help.
I don't think you should use --user
, that might be broken (not 100% sure). But use pipenv/venv/conda instead and you shouldn't have issues. Hope that helps!
Hi, I installed this library weeks ago and make it work, but I accidentally deleted my enviroment and I can't make it work now. I have tried default pip version, default conda version pip 0.4.0 etc..
What happens is that the code doesn't complain, no error messages or warnings but jupyter notebook doesn't show anything at all. I think I may be missing some configuration step or something, not sure... because I'm using the same code I that used to work in my old enviroment.
I'm working with jupyter in anaconda and windows10.
Thanks and great work!