ubuntu14.04 splash安装
来源:互联网 发布:电商软件营销方案 编辑:程序博客网 时间:2024/04/30 20:36
ubuntu14.04 splash安装
splash 是一个python语言编写的用于配合scrapy解析js的库,本来以为安装比较简单,没想到记录下来以后,发现其实还是很麻烦的,所以发出来共享一下
- splash运行于python3环境下,所以先安装pip3,
sudo apt-get install python3-pip
; - 安装re2扩展库,详细可以查看这篇文章http://stackoverflow.com/questions/36969878/pip-install-re2-gives-an-error;
如果在安装re的过程中出现ln: failed to create symbolic link ‘obj/so/libre2.so’: Operation not supported的错误,是因为obj/so/下面不存在这个文件,可以手动重命名或者复制libre2.so.0为libre2.so
- 其他依赖
sudo apt-get install libjpeg-dev liblua5.1-0-dev python3-pyqt5 libqt5webkit5-dev python3-pyqt5.qtsvg python3-pyqt5.qtwebkit firefox xvfb
- python3扩展包
sudo pip3 install selenium
- 克隆splash项目
git@github.com:scrapinghub/splash.git
, 然后进入splash项目内执行sudo pip3 install --default-timeout=100 -r requirements.txt
- 如果缺其他插件可以根据提示自行下载,运行splash,进入splash项目内,执行
python3 -m splash.server
1 0
- ubuntu14.04 splash安装
- Ubuntu14.04安装JDK
- ubuntu14.04安装fcitx
- ubuntu14.04 安装LNMP
- Ubuntu14.04安装成功
- ubuntu14.04安装MySQL
- ubuntu14.04安装eclipse
- Ubuntu14.04 安装CodeBlocks
- ubuntu14.04 安装redis
- ubuntu14.04 安装gnome3
- wubi安装ubuntu14.04
- Ubuntu14.04 安装JDK7
- Ubuntu14.04安装JDK
- Ubuntu14.04安装JDK
- Ubuntu14.04安装chrome
- Ubuntu14.04安装QQ2013
- ubuntu14.04安装openldapserver
- ubuntu14.04 安装 vncserver
- NSInvocation
- 从今天开始学习嵌入式linux 加油!
- eclipse.ini相关配置
- 进程和线程的区别
- eclipse项目红色叹号解决方法 eclipse导入jar包
- ubuntu14.04 splash安装
- <GestureDetector>通过手势缩放图片
- IOS中关于Block的用法总结
- nginx HA and 负载均衡示意图
- objective-C中的Class(类类型),Selector(选择器SEL),函数指针(IMP)
- 网页实现返回键直接退出,不回到登录界面
- in exits区别
- 数组(Array)
- App后台学习笔记