python开发之anaconda【以及win7下安装gensim】
2016-05-10 17:19
639 查看
一、推荐安装Anaconda
官方介绍:Anaconda is a completely free Python distribution (including for commercial use and redistribution). It includes more than
400 of the most popular Python packages for science, math, engineering, and data analysis.
下载页面:https://www.continuum.io/downloads
Python的有些模块在单独安装时可能非常麻烦,Anaconda中则已经集成好了许多常见的模块,用起来非常方便。
安装Anaconda之前不需要预先安装python,它其中已经自带Python、IPython、集成开发环境Spyder、一些包等等。
anaconda自带的conda命令:
二、gensim安装
因为需要学习使用word2vec,所以要安装gensim模块。
用传统python安装gensim库时,由于依赖的库比较多,试过很多教程之后还是失败。
利用上面安装好Anaconda之后,直接pip install gensim就成功了。
官方介绍:Anaconda is a completely free Python distribution (including for commercial use and redistribution). It includes more than
400 of the most popular Python packages for science, math, engineering, and data analysis.
下载页面:https://www.continuum.io/downloads
Python的有些模块在单独安装时可能非常麻烦,Anaconda中则已经集成好了许多常见的模块,用起来非常方便。
安装Anaconda之前不需要预先安装python,它其中已经自带Python、IPython、集成开发环境Spyder、一些包等等。
anaconda自带的conda命令:
# 查看安装的包 conda list # 安装模块 conda install scipy # 更新模块 conda update scipy # 更新所有模块 conda update --all # 升级Anaconda conda update conda conda update anaconda
二、gensim安装
因为需要学习使用word2vec,所以要安装gensim模块。
用传统python安装gensim库时,由于依赖的库比较多,试过很多教程之后还是失败。
利用上面安装好Anaconda之后,直接pip install gensim就成功了。
相关文章推荐
- Python学习笔记:集合(set)有关函数
- 292. Nim Game [easy] (Python)
- py-faster-rcnn训练笔记(ubuntu14.04+cuda7.5+cuDNNv3+Python2.7)
- python抓取网页的代码
- Python实现ping指定IP
- [LeetCode]题解(python):155-Min Stack
- Python下使用OpenCV的配置
- [python]使用xlrd对Excel表格进行读写操作
- [LeetCode]题解(python):154-Find Minimum in Rotated Sorted Array II
- [LeetCode]题解(python):153-Find Minimum in Rotated Sorted Array
- Python urlib vs urlib2
- Python multiprocessing
- python ajax爬虫 --36Kr为例
- python面向对象编程III(定制类)
- [LeetCode]题解(python):152-Maximum Product Subarray
- Python Socket
- python的import几种形式
- [LeetCode]题解(python):151-Reverse Words in a String
- Python 基础学习笔记1
- Python树结构之一行代码实现