Today is a day of tossing and installing Pyspider, due to the numerous dependencies, and the search for all information is mostly installed under the Linux platform and Mac platform installation tutorial. Poor I tried the N-multiple version, has not been successful.
Finally found that some people say that Python version, not less than 2.7.6, otherwise pycurl can not be installed successfully, a check my is 2.7.2. All right, uninstall, reinstall python2.7.6.
It seems that after installation, the Pycurl can be installed successfully, but the Easy_install error message is related to coding:
Find solutions on-line search: http://www.360doc.com/content/14/0508/00/7821691_375668317.shtml
Open c:\Python27\Lib\mimetypes.py. Line No. 256, find ' default_encoding=sys.getdefaultencoding () '. Add three lines before this code:
if sys.getdefaultencoding ()! ='gbk': reload (SYS) Sys.setdefaultencoding ('gbk')
And then try again, it's OK!
Install spider, you can use the ~
python2.7.6, setuptools pip install, error: Unicodedecodeerror: ' ASCII ' codec can ' t decode byte