Python编程的准备环境 python2.7(安装好pip+easy_install)+windows64
1.安装pip和easy_install
http://www.jincon.com/archives/213/
添加环境变量:E:\Python\Python2.7 和 E:\Python\Python2.7\Scripts
1.安装Numpy
numpy的下载链接:http://pan.baidu.com/s/1c4CqV8
安装步骤:cd 到 Numpy的存放目录: 执行pip install numpy-1.11.3+mkl-cp27-cp27m-win_amd64.whl
2.安装Scrapy库及其依赖库
参考链接: http://blog.csdn.net/php_fly/article/details/19364913
3.安装matplotlib
matplotlib下载链接: http://pan.baidu.com/s/1slTkmHB
安装步骤:cd 到matplotlib目录下 pip install +文件名.whl
4.安装requests模块
直接:pip instal request
在安装过程中可能出现的错误
'assci'类的错误,一般是编码的错误--->在你的python安装路径的Lib/sit-packages/创建sitecustomize.py文件
添加内容
import sys
sys.setdefaultencoding('gbk') #set default encoding to utf-8
1.安装pip和easy_install
http://www.jincon.com/archives/213/
添加环境变量:E:\Python\Python2.7 和 E:\Python\Python2.7\Scripts
1.安装Numpy
numpy的下载链接:http://pan.baidu.com/s/1c4CqV8
安装步骤:cd 到 Numpy的存放目录: 执行pip install numpy-1.11.3+mkl-cp27-cp27m-win_amd64.whl
2.安装Scrapy库及其依赖库
参考链接: http://blog.csdn.net/php_fly/article/details/19364913
3.安装matplotlib
matplotlib下载链接: http://pan.baidu.com/s/1slTkmHB
安装步骤:cd 到matplotlib目录下 pip install +文件名.whl
4.安装requests模块
直接:pip instal request
在安装过程中可能出现的错误
'assci'类的错误,一般是编码的错误--->在你的python安装路径的Lib/sit-packages/创建sitecustomize.py文件
添加内容
import sys
sys.setdefaultencoding('gbk') #set default encoding to utf-8