Mac学习python爬虫:python3.6安装wordcloud
来源:互联网 发布:淘宝内部优惠券群号 编辑:程序博客网 时间:2024/06/05 19:41
Mac装了2.7和3.6两个版本的python,先关联的是2.7,根据教程学习爬虫的过程中发现wordcloud安装不成功,改为关联anaconda的3.6,还是不成功。
- 网上搜索都是windows的解决办法:装lxml什么之类。行不通。
- 先卸载olefile,再pip install wordcloud 也行不通。
看了一下提示是“Failed building wheel for wordcloud”。
- 先安装 xcode-select --install
- 再 pip install wordcloud
- 成功了。
-----------------
使用stopwords.txt时总出现错误:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
用BBEdit打开发现原来是保存为utf-16了,换编码为utf-8,保存。问题解决!
阅读全文
0 0
- Mac学习python爬虫:python3.6安装wordcloud
- python安装wordcloud
- python 安装wordcloud
- Python3之Mac安装Python
- python3 云词(wordcloud)安装失败解决方案
- mac安装python3.6
- mac安装python3.6
- Python学习之jieba、wordcloud
- Python学习(一)----Python3.6安装
- python wordcloud
- Python3.6安装Scrapy爬虫框架
- Python进阶(十九)-Python3安装第三方爬虫库BeautifulSoup4
- wordcloud安装
- Python3.6 学习爬虫入门篇
- python3爬虫学习
- Python3简单爬虫学习
- python3爬虫基础学习
- Python3爬虫入门学习
- Unity杂七杂八的些东西
- 用js把json数组转成树型数据结构的算法
- RocketMQ的Push消息
- 维护良好信用,向"逾期"say no!!
- GUID (全局唯一标识符)
- Mac学习python爬虫:python3.6安装wordcloud
- NAND flash和NOR flash的区别
- 分页
- Spring 多数据源 事务配置
- Xcode7运行iOS10以上系统详解
- 欢迎使用CSDN-markdown编辑器
- 默认使用浏览器最高版本和默认使用的内核,强制竖屏等
- Aras innovator: innovator大家族
- CentOS7——supervisor安装配置实战