You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/snirps/Documents/GitHub/testproject/.venv/lib/python3.11/site-packages/scipy/__init__.py", line 137, in __getattr__
return globals()[name]
~~~~~~~~~^^^^^^
KeyError: 'array'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/snirps/Documents/GitHub/testproject/test.py", line 6, in <module>
fig = ff.create_dendrogram(X)
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/snirps/Documents/GitHub/testproject/.venv/lib/python3.11/site-packages/plotly/figure_factory/_dendrogram.py", line 94, in create_dendrogram
dendrogram = _Dendrogram(
^^^^^^^^^^^^
File "/home/snirps/Documents/GitHub/testproject/.venv/lib/python3.11/site-packages/plotly/figure_factory/_dendrogram.py", line 148, in __init__
(dd_traces, xvals, yvals, ordered_labels, leaves) = self.get_dendrogram_traces(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/snirps/Documents/GitHub/testproject/.venv/lib/python3.11/site-packages/plotly/figure_factory/_dendrogram.py", line 346, in get_dendrogram_traces
icoord = scp.array(P["icoord"])
^^^^^^^^^
File "/home/snirps/Documents/GitHub/testproject/.venv/lib/python3.11/site-packages/scipy/__init__.py", line 139, in __getattr__
raise AttributeError(
AttributeError: Module 'scipy' has no attribute 'array'
Hi,
when i run the tutorial from the website https://plotly.com/python/dendrogram/ the program crashes.
I put the code in a
test.py
file in a complete new venv.Error:
I have the following packages installed with pip.
python:
Thanks for your great work.
The text was updated successfully, but these errors were encountered: