美式励志片。虽然有人都说,人家克里斯天生含金钥匙,指他超人的数学天赋。如果不是因为这个他也肯定不能成功。就比如之前他在做推销员的时候,尽管他很努力,情商也很高。最后不还是卖的那么艰难,弄得老婆都要离他而去。
[阅读笔记之二] 谁动了我的奶酪
[阅读笔记之一] 李鸿章传
本传为梁启超所写。
[北美美食日记之三] 炒米茶
讲如何做炒米茶。
[北美美食日记之二] 清蒸鳕鱼
讲如何做清蒸鳕鱼。
[北美美食日记之一] 黄油饼干
讲如何制作黄油饼干。
[每周观影系列之一] 少林足球
我想后面要做到每周好好评价至少一部电影。本文讲一讲少林足球这部电影。
iGraph python 安装
1. 下载文件
1 | wget http://igraph.org/nightly/get/c/igraph-0.7.1.tar.gz |
1 | cd igraph-0.7.1 |
这样把igraph的c依赖装好了。接着准备装Python的依赖。
注意那个ldconfig
是用来解决下面找不到so文件的。
2.编译setup.py安装
1 | cd ../python-igraph-0.7.0 |
这样不出意外会出错,需要下面两个都解决才行
3. add LD_LIBRARY_PATH for .so files
export LD_LIBRARY_PATH=/usr/local/lib
注意要加到.bashrc
文件里。
4. 安装lxml2
sudo apt-get install libxml2-dev
libxml2 is the runtime shared library, suitable for running already-compiled programs that use that library. If you want to compile programs that use libxml2, you need to install libxml2-dev.
This is true for most library packages on ubuntu (and debian, mint, etc. RH and others have similar conventions) - libfoo is the runtime shared library, libfoo-dev contains the development headers and .a archive
For libz, the package is zlib1g-dev
BTW, python-igraph 0.6.5-1 is packaged for debian - are you sure it’s not also pre-packaged for ubuntu? If it is, you’re much better off installing the ubuntu packa
因为我们是朋友,所以你可以使用我的文字,但请注明出处:http://alwa.info