ubuntu14.04 安装 pyv8
1. $sudo pip install -v pyv8
Error: pip unicodedecodeerror ‘ascii’ codec can’t decode byte 0xe2 in position 42 ordinal not in range(128)
2. 更新pip版本
卸载 python-pip (version: 1.5) ,最新 pip 6.0.7
Remove your system wide installation of pip:
$ sudo apt-get purge python-pip
Then install a fresh copy of pip:
$ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | sudo python
参考:
http://unix.stackexchange.com/questions/36710/how-can-i-upgrade-pip-on-ubuntu-10-04
https://pip.pypa.io/en/latest/installing.html
3.
Error:
src/Exception.h:6:16: fatal error: v8.h: No such file or directory
#include
compilation terminated.
解决:缺少 v8 的头文件,因为没有安装 v8 或其开发文件 ,安装 libv8-dev
参考: http://segmentfault.com/q/1010000000307870
4.
Error:
src/Exception.h:16:28: fatal error: boost/python.hpp: No such file or directory
#include
compilation terminated.
解决:sudo apt-get install libboost-all-dev
参考:http://stackoverflow.com/questions/12578499/how-to-install-boost-on-ubuntu
原文地址:http://saiwei.info/wordpress/?p=1139
最新文章
- Android—ListView条目背景为图片时,条目间距问题解决
- swift中 if let 与 guard let 对比,guard会降低一个分支
- spring security oauth2.0 实现
- buildroot使用详解
- AppleWatch___学习笔记(二)UI布局和UI控件
- JAVA的面向对象编程--------课堂笔记
- 纪录参加noip2015(pj+tg)复赛
- Java JNDI Datasource HOW-TO Problem
- android sqlite数据库封装 实现crud
- html 页面视图中的资源文件(css/js/image)的路径问题。
- javascript算法(一)
- python3+beautifulSoup4.6抓取某网站小说(四)多线程抓取
- Fiddler实现对手机抓包
- Mudo C++网络库第二章学习笔记
- contenteditable=";true";让div可编辑
- CentOS7 下源代码安装php7
- awk学习 (good)
- React基础笔记
- Inno Setup替代默认的背景图片
- android 百度地图开发实例(转载)
热门文章
- 【bzoj1922】[Sdoi2010]大陆争霸 堆优化Dijkstra
- P1559 运动员最佳匹配问题
- P2124 奶牛美容
- 安全警告——“Windows已经阻止此软件因为无法验证发行者”解决办法
- [洛谷P3567][POI2014]KUR-Couriers
- 洛谷 P1268 树的重量 解题报告
- [SCOI2012]喵星球上的点名——堪称十种方法做的题
- 2018 BAT最新 php面试必考题
- 解决perm size out of memeory的问题
- pycharm激活(JetBrains IDEA 系列产品通用xx方法(license server))