[英]ModuleNotFoundError: No module named 'pyLDAvis' in anaconda spyder
I am using anaconda sypder and installed pyLDAvis
module using command:我正在使用 anaconda sypder 并使用以下命令安装pyLDAvis
模块:
conda install -c ehremo pyldavis
Even after successful installation it shows error即使在成功安装后,它也会显示错误
ModuleNotFoundError: No module named 'pyLDAvis'" in anaconda spyder
while using command import pyLDAvis
.使用命令import pyLDAvis
。 Please help.请帮忙。
conda install -c memex pyldavis
This command didn't work for me这个命令对我不起作用
But this one worked但这个有效
conda install -c conda-forge pyldavis
Here you go, this uses anaconda for instillation给你,这使用 anaconda 进行灌输
conda install -c memex pyldavis
That fixed it on my end and can use pyLDAvis那把它修好了,可以使用 pyLDAvis
I had same problems with this module我对这个模块有同样的问题
First try:第一次尝试:
conda update anaconda
if you use jupyter notebook and you had "No module named.." try:如果您使用 jupyter notebook 并且您有“No module named..”,请尝试:
pip install --upgrade pip
pip install --upgrade jupyter notebook
a next下一个
pip install pyLDAvis
I completed these steps and I could use jupter console to check我完成了这些步骤,我可以使用 jupter 控制台来检查
import pyLDAvis
pyLDAvis.__version__
On Jupyter notebook, following worked for me在 Jupyter 笔记本上,以下对我有用
!python -m pip install -U pyLDAvis
Alternatively, run Anaconda prompt as administrator and execute the following或者,以管理员身份运行 Anaconda prompt 并执行以下命令
(base) C:\Windows\system32>conda install -c conda-forge pyLDAvis
try this in Anaconda prompt:在 Anaconda 提示符下试试这个:
conda install -c conda-forge pyLDAvis conda install -c conda-forge pyLDAvis
then type y in the following section:然后在以下部分键入 y:
The following packages will be UPDATED:以下软件包将被更新:
Proceed ([y]/n)?继续 ([y]/n)? y是
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.