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

最新文章

  1. Android—ListView条目背景为图片时,条目间距问题解决
  2. swift中 if let 与 guard let 对比,guard会降低一个分支
  3. spring security oauth2.0 实现
  4. buildroot使用详解
  5. AppleWatch___学习笔记(二)UI布局和UI控件
  6. JAVA的面向对象编程--------课堂笔记
  7. 纪录参加noip2015(pj+tg)复赛
  8. Java JNDI Datasource HOW-TO Problem
  9. android sqlite数据库封装 实现crud
  10. html 页面视图中的资源文件(css/js/image)的路径问题。
  11. javascript算法(一)
  12. python3+beautifulSoup4.6抓取某网站小说(四)多线程抓取
  13. Fiddler实现对手机抓包
  14. Mudo C++网络库第二章学习笔记
  15. contenteditable="true"让div可编辑
  16. CentOS7 下源代码安装php7
  17. awk学习 (good)
  18. React基础笔记
  19. Inno Setup替代默认的背景图片
  20. android 百度地图开发实例(转载)

热门文章

  1. 【bzoj1922】[Sdoi2010]大陆争霸 堆优化Dijkstra
  2. P1559 运动员最佳匹配问题
  3. P2124 奶牛美容
  4. 安全警告——“Windows已经阻止此软件因为无法验证发行者”解决办法
  5. [洛谷P3567][POI2014]KUR-Couriers
  6. 洛谷 P1268 树的重量 解题报告
  7. [SCOI2012]喵星球上的点名——堪称十种方法做的题
  8. 2018 BAT最新 php面试必考题
  9. 解决perm size out of memeory的问题
  10. pycharm激活(JetBrains IDEA 系列产品通用xx方法(license server))