vpython / vpython-jupyter

3D visualization made easy
MIT License
142 stars 64 forks source link

AttributeError: module 'notebook' has no attribute 'nbextensions' #254

Open sr71684 opened 10 months ago

sr71684 commented 10 months ago

Library appears to be broke

AttributeError: module 'notebook' has no attribute 'nbextensions'

on clean install. Why this happen?

liwt31 commented 9 months ago

plus 1 here

liwt31 commented 9 months ago

Seems to be a version issue. Install from a clean environment using the following requirements and then jupyter notebook works

aiohttp==3.8.3
aiosignal==1.3.1
alembic==1.8.1
anyio==3.6.1
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
async-generator==1.10
async-timeout==4.0.2
asynctest==0.13.0
attrs==22.1.0
autobahn==22.7.1
Babel==2.10.3
backcall==0.2.0
backports.functools-lru-cache==1.6.4
beautifulsoup4==4.11.1
bleach==5.0.1
blinker==1.5
brotlipy==0.7.0
certifi==2022.9.24
certipy==0.1.3
cffi==1.15.1
charset-normalizer==2.1.1
cryptography==38.0.2
Cython==0.29.32
debugpy==1.6.3
decorator==5.1.1
defusedxml==0.7.1
entrypoints==0.4
fastjsonschema==2.16.2
flit_core==3.7.1
frozenlist==1.3.3
greenlet==1.1.3
hyperlink==21.0.0
idna==3.4
importlib-metadata==4.11.4
importlib-resources==5.10.0
ipykernel==6.16.0
ipython==7.33.0
ipython-genutils==0.2.0
ipywidgets==8.0.2
jedi==0.18.1
Jinja2==3.1.2
json5==0.9.5
jsonschema==4.16.0
jupyter==1.0.0
jupyter_client==7.4.2
jupyter-console==6.4.4
jupyter_core==4.11.1
jupyter-offlinenotebook==0.2.2
jupyter-resource-usage==0.6.3
jupyter-server==1.21.0
jupyter-server-proxy==3.2.2
jupyter-telemetry==0.1.0
jupyterhub==1.5.0
jupyterlab==3.4.8
jupyterlab-pygments==0.2.2
jupyterlab_server==2.15.2
jupyterlab-widgets==3.0.3
Mako==1.2.3
MarkupSafe==2.1.1
matplotlib-inline==0.1.6
mistune==2.0.4
multidict==6.0.2
nbclassic==0.4.6
nbclient==0.7.0
nbconvert==7.2.1
nbformat==5.7.0
nest-asyncio==1.5.6
notebook==6.4.12
notebook-shim==0.1.0
nteract-on-jupyter==2.1.3
numpy==1.21.6
oauthlib==3.2.1
packaging==21.3
pamela==1.0.0
pandocfilters==1.5.0
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
prometheus-client==0.14.1
prompt-toolkit==3.0.31
psutil==5.9.2
ptyprocess==0.7.0
pycparser==2.21
Pygments==2.13.0
PyJWT==2.5.0
pyOpenSSL==22.1.0
pyparsing==3.0.9
pyrsistent==0.18.1
PySocks==1.7.1
python-dateutil==2.8.2
python-json-logger==2.0.1
pytz==2022.4
pyzmq==24.0.1
qtconsole==5.4.0
QtPy==2.3.0
requests==2.28.1
ruamel.yaml==0.17.21
ruamel.yaml.clib==0.2.6
Send2Trash==1.8.0
simpervisor==0.4
sniffio==1.3.0
soupsieve==2.3.2.post1
SQLAlchemy==1.4.41
terminado==0.16.0
tinycss2==1.1.1
tomli==2.0.1
tornado==6.2
traitlets==5.4.0
txaio==22.2.1
typing_extensions==4.4.0
urllib3==1.26.11
vpython==7.6.1
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.4.1
widgetsnbextension==4.0.3
yarl==1.8.1
zipp==3.9.0

The versions are obtained by listing the packages in the binder environment.

gyubeomim commented 5 months ago

Seems to be a version issue. Install from a clean environment using the following requirements and then jupyter notebook works

aiohttp==3.8.3
aiosignal==1.3.1
alembic==1.8.1
anyio==3.6.1
argon2-cffi==21.3.0
argon2-cffi-bindings==21.2.0
async-generator==1.10
async-timeout==4.0.2
asynctest==0.13.0
attrs==22.1.0
autobahn==22.7.1
Babel==2.10.3
backcall==0.2.0
backports.functools-lru-cache==1.6.4
beautifulsoup4==4.11.1
bleach==5.0.1
blinker==1.5
brotlipy==0.7.0
certifi==2022.9.24
certipy==0.1.3
cffi==1.15.1
charset-normalizer==2.1.1
cryptography==38.0.2
Cython==0.29.32
debugpy==1.6.3
decorator==5.1.1
defusedxml==0.7.1
entrypoints==0.4
fastjsonschema==2.16.2
flit_core==3.7.1
frozenlist==1.3.3
greenlet==1.1.3
hyperlink==21.0.0
idna==3.4
importlib-metadata==4.11.4
importlib-resources==5.10.0
ipykernel==6.16.0
ipython==7.33.0
ipython-genutils==0.2.0
ipywidgets==8.0.2
jedi==0.18.1
Jinja2==3.1.2
json5==0.9.5
jsonschema==4.16.0
jupyter==1.0.0
jupyter_client==7.4.2
jupyter-console==6.4.4
jupyter_core==4.11.1
jupyter-offlinenotebook==0.2.2
jupyter-resource-usage==0.6.3
jupyter-server==1.21.0
jupyter-server-proxy==3.2.2
jupyter-telemetry==0.1.0
jupyterhub==1.5.0
jupyterlab==3.4.8
jupyterlab-pygments==0.2.2
jupyterlab_server==2.15.2
jupyterlab-widgets==3.0.3
Mako==1.2.3
MarkupSafe==2.1.1
matplotlib-inline==0.1.6
mistune==2.0.4
multidict==6.0.2
nbclassic==0.4.6
nbclient==0.7.0
nbconvert==7.2.1
nbformat==5.7.0
nest-asyncio==1.5.6
notebook==6.4.12
notebook-shim==0.1.0
nteract-on-jupyter==2.1.3
numpy==1.21.6
oauthlib==3.2.1
packaging==21.3
pamela==1.0.0
pandocfilters==1.5.0
parso==0.8.3
pexpect==4.8.0
pickleshare==0.7.5
prometheus-client==0.14.1
prompt-toolkit==3.0.31
psutil==5.9.2
ptyprocess==0.7.0
pycparser==2.21
Pygments==2.13.0
PyJWT==2.5.0
pyOpenSSL==22.1.0
pyparsing==3.0.9
pyrsistent==0.18.1
PySocks==1.7.1
python-dateutil==2.8.2
python-json-logger==2.0.1
pytz==2022.4
pyzmq==24.0.1
qtconsole==5.4.0
QtPy==2.3.0
requests==2.28.1
ruamel.yaml==0.17.21
ruamel.yaml.clib==0.2.6
Send2Trash==1.8.0
simpervisor==0.4
sniffio==1.3.0
soupsieve==2.3.2.post1
SQLAlchemy==1.4.41
terminado==0.16.0
tinycss2==1.1.1
tomli==2.0.1
tornado==6.2
traitlets==5.4.0
txaio==22.2.1
typing_extensions==4.4.0
urllib3==1.26.11
vpython==7.6.1
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==1.4.1
widgetsnbextension==4.0.3
yarl==1.8.1
zipp==3.9.0

The versions are obtained by listing the packages in the binder environment.

It's only the way working for me. Thanks!