binux / pyspider

A Powerful Spider(Web Crawler) System in Python.
http://docs.pyspider.org/
Apache License 2.0
16.5k stars 3.69k forks source link

Can't install on windows #229

Open picasso250 opened 9 years ago

picasso250 commented 9 years ago
Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

pip install pyspider

Downloading/unpacking pycurl (from pyspider)
  Running setup.py (path:c:\users\wangxi~1\appdata\local\temp\pip_build_wangxiaochi\pycurl\setup.py) egg_info for packag
e pycurl
    Please specify --curl-dir=/path/to/built/libcurl
    Complete output from command python setup.py egg_info:
    Please specify --curl-dir=/path/to/built/libcurl

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 10 in c:\users\wangxi~1\appdata\local\temp\pip_build_wangxiaochi
\pycurl
Storing debug log for failure in C:\Users\wangxiaochi\pip\pip.log
binux commented 9 years ago

https://github.com/binux/pyspider/issues/102#issuecomment-94508307

picasso250 commented 9 years ago

安装python2.7 32位 重新安装pip 从pycurl官网下载win版安装 执行 pip install pyspider 解决

NoWait126 commented 9 years ago

老师您好,我用了您上面写的方法安装pyspider,提示错误: warning: no files found matching 'COPYING' warning: no files found matching '.html' under directory 'docs' warning: no files found matching '.css' under directory 'docs' warning: no files found matching '.png' under directory 'docs' warning: no files found matching '.gif' under directory 'docs' Downloading/unpacking cssselect>=0.9 (from pyspider) Downloading cssselect-0.9.1.tar.gz Running setup.py (path:c:\users\think\appdata\local\temp\pip_build_Think\cssselect\setup.py) egg_info for package cssselect

no previously-included directories found matching 'docs\_build'

Downloading/unpacking lxml (from pyspider)。 然后就停在那里不动了,请问该如何解决,谢谢

fancyChuan commented 9 years ago

@NoWait126 应该是lxml出了问题,你手动安装一下 lxml 这个模块试一下。

mousefly2014 commented 9 years ago

必须用2.7吗,3.4能行吗

cuixiaodao commented 8 years ago

我windows下和ubuntu下刚开始安装都出现错误,最后win下用管理员权限和ubuntu下sudo easy_install命令安装成功了。