angelolab / angelolab/pyFlowSOM

AttributeError: module 'scipy' has no attribute 'spatial'

未关闭
#20 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Cython
星标
1
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

**Describe the bug**
I am using Python 3.8.13 and installed pyFlowSOM as explained here: https://pypi.org/project/pyFlowSOM/.
The module is giving me a basic error: _AttributeError: module 'scipy' has no attribute 'spatial_'
I anticipated a normal return of the output. Since it is written in C, I cannot locate/debug the code. Even if someone can guide me where to explore, it would be a help.

**To Reproduce**
I ran the following code:

`node_output = som(data, seed = 30)`

Note that the data was a 2D numpy array.

The following error was encountered:

> Traceback (most recent call last):
> File "main.py", line 27, in
> node_output = som(data, seed = 30)
> File "src/pyFlowSOM/cyFlowSOM.pyx", line 100, in pyFlowSOM.cyFlowSOM.som
> File "src/pyFlowSOM/cyFlowSOM.pyx", line 46, in pyFlowSOM.cyFlowSOM.neighborhood_distance
> AttributeError: module 'scipy' has no attribute 'spatial'

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。