0
나는 jupyter 노트북을 사용하고 있지만 jupyter 위젯은 나타나지 않습니다. 대신에 나는 folllowing 메시지가 나타납니다 :Jupyter 위젯이 노트북에 나타나지 않습니다.
Failed to display Jupyter Widget of type Button.
If you're reading this message in the Jupyter Notebook or JupyterLab Notebook, it may mean that the widgets JavaScript is still loading. If this message persists, it likely means that the widgets JavaScript library is either not installed or not enabled. See the Jupyter Widgets Documentation for setup instructions.
If you're reading this message in another frontend (for example, a static rendering on GitHub or NBViewer), it may mean that your frontend doesn't currently support widgets.
을 내가 가지고 다음 버전 :
또한pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension
내 코드는 다음과 같습니다 :
widgetsnbextension (3.0.8)
ipywidgets (7.0.5)
내가이 명령을 사용하여 위젯을 설치
import ipywidgets as widgets
from IPython.display import display
button = widgets.Button(description='Hello')
display(button)
OP에서 "--sys-prefix"섹션없이 같은 줄을 넣었습니다. 특정 매개 변수를 포함해야한다고 말하면 문제가 해결 될 것입니다. – Taegost