简体   繁体   English

无法在 anaconda 中安装 wordcloud

[英]Can't install wordcloud in anaconda

Solving environment: failed解决环境:失败

UnsatisfiableError: The following specifications were found to be in conflict: - wordcloud - xlsxwriter Use "conda info " to see the dependencies for each package UnsatisfiableError: 发现以下规范存在冲突: - wordcloud - xlsxwriter 使用“conda info”查看每个包的依赖关系

. .

Initially i get conflict with python 3.4 and python 3.6 so update python to 3.6 but still getting above erroe.最初我与python 3.4python 3.6发生冲突,所以将python更新到3.6但仍然超过错误。 Pls help请帮忙

You can try:你可以试试:

pip install wordcloud

or要么

conda install -c conda-forge wordcloud

I have tried those options answered above.我已经尝试过上面回答的那些选项。 I think there was some problem with with Anaconda python 3.x versions.我认为 Anaconda python 3.x 版本存在一些问题。 I used 2.7 and it worked fine there for me我使用了 2.7,它对我来说很好用

Using Anaconda Python 3.6 version For Windows you can do it as:使用 Anaconda Python 3.6 版本对于 Windows,您可以这样做:

Installation of wordcloud package download wordcloud‑1.3.2‑cp36‑cp36m‑win_amd64.whl from http://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud Copy the file to your current working directory Open command prompt python -m pip install wordcloud-1.3.2-cp36-cp36m-win_amd64.whl wordcloud 安装包下载 wordcloud‑1.3.2‑cp36‑cp36m‑win_amd64.whl 从http://www.lfd.uci.edu/~gohlke/pythonlibs/#wordcloud复制文件到当前工作目录 打开命令提示符 python -m pip install wordcloud-1.3.2-cp36-cp36m-win_amd64.whl

You can use according to your python version.你可以根据你的python版本使用。 Don't need to migrate into another python version.不需要迁移到另一个 python 版本。

In console : conda install -c conda-forge wordcloud在控制台中: conda install -c conda-forge wordcloud

First activate your python environment !首先激活你的python环境!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM