ipywidgetsをhttps://ipywidgets.readthedocs.io/en/stable/user_install.html
に従いインストール。以下をインスール中にエラーが発生。
jupyter labextension install @jupyter-widgets/jupyterlab-manager
PythonとJupyter関連のバージョン
Python 3.7.7 jupyter core : 4.6.3 jupyter-notebook : 6.1.1 qtconsole : 4.7.5 ipython : 7.18.1 ipykernel : 5.3.4 jupyter client : 6.1.6 jupyter lab : not installed nbconvert : 5.6.1 ipywidgets : 7.5.1 nbformat : 5.0.7 traitlets : 4.3.3
jupyter labextension install @jupyter-widgets/jupyterlab-manager
を実行した後のエラー
ERROR:root:code for hash md5 was not found. Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type md5 ERROR:root:code for hash sha1 was not found. Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha1 ERROR:root:code for hash sha224 was not found. Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha224 ERROR:root:code for hash sha256 was not found. Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha256 ERROR:root:code for hash sha384 was not found. Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha384 ERROR:root:code for hash sha512 was not found. Traceback (most recent call last): File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module> globals()[__func_name] = __get_hash(__func_name) File "/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 97, in __get_builtin_constructor raise ValueError('unsupported hash type ' + name) ValueError: unsupported hash type sha512 Traceback (most recent call last): File "/usr/local/bin/jupyter-labextension", line 6, in <module> from jupyterlab.labextensions import main File "/usr/local/lib/python2.7/site-packages/jupyterlab/labextensions.py", line 18, in <module> from .commands import ( File "/usr/local/lib/python2.7/site-packages/jupyterlab/commands.py", line 26, in <module> from jupyterlab_launcher.process import which, Process, WatchHelper File "/usr/local/lib/python2.7/site-packages/jupyterlab_launcher/__init__.py", line 5, in <module> from .handlers import add_handlers, LabHandler, LabConfig File "/usr/local/lib/python2.7/site-packages/jupyterlab_launcher/handlers.py", line 10, in <module> from notebook.base.handlers import IPythonHandler, FileFindHandler File "/usr/local/lib/python2.7/site-packages/notebook/base/handlers.py", line 29, in <module> from jinja2 import TemplateNotFound File "/usr/local/lib/python2.7/site-packages/jinja2/__init__.py", line 9, in <module> from .bccache import BytecodeCache File "/usr/local/lib/python2.7/site-packages/jinja2/bccache.py", line 15, in <module> from hashlib import sha1 ImportError: cannot import name sha1
正常にインストール完了するために、どうエラーに対処すれば良いか不明のため、教えてください。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。