ModuleNotFoundError:anaconda spyder中没有名为“ pyLDAvis”的模块

时间:2018-06-20 10:27:09

标签: python anaconda spyder lda

我正在使用anaconda sypder,并使用以下命令安装了pyLDAvis模块:

conda install -c ehremo pyldavis

即使安装成功,它也会显示错误

ModuleNotFoundError: No module named 'pyLDAvis'" in anaconda spyder
在使用命令import pyLDAvis

。请帮忙。

5 个答案:

答案 0 :(得分:2)

在这里,它使用水蟒进行滴注

with cte1 as
(Select *, ROW_NUMBER() over (partition by table1_amount order by table1_amount) as ranking from table1),
 cte2 as
(Select *,ROW_NUMBER() over (partition by table2_amount order by table2_amount) as ranking from table2)
Select cte1.table1_amount, cte2.table2_amount from cte1 FULL OUTER JOIN cte2 on cte1.table1_amount = cte2.table2_amount and cte1.ranking = cte2.ranking

在我身上修复了它,可以使用pyLDAvis

答案 1 :(得分:1)

conda install -c memex pyldavis

此命令对我不起作用

但是这个有效

conda install -c conda-forge pyldavis

答案 2 :(得分:0)

我对该模块有相同的问题

第一次尝试:

conda update anaconda

如果使用jupyter笔记本,并且具有“未命名模块..” 尝试:

pip install --upgrade pip

pip install --upgrade jupyter notebook

下一个

pip install pyLDAvis

我完成了这些步骤,可以使用jupter控制台进行检查

import pyLDAvis

pyLDAvis.__version__

答案 3 :(得分:0)

在Jupyter笔记本上,以下内容对我有用

!python -m pip install -U pyLDAvis

或者,以管理员身份运行Anaconda提示符并执行以下操作

(base) C:\Windows\system32>conda install -c conda-forge pyLDAvis

答案 4 :(得分:0)

在 Anaconda 提示符下试试这个:

conda install -c conda-forge pyLDAvis

然后在以下部分键入 y:

以下软件包将被更新:

继续 ([y]/n)?是

相关问题