环境Ubuntu1404、anaconda2-4.2.0
首先安装科学计算的c依赖库gsl
sudo apt-get install libgsl0-dev
根据https://bitbucket.org/luukko/libeemd
git clone https://bitbucket.org/luukko/libeemd.git
cd libeemd
make
cp libeemd.so.* ../pyeemd/pyeemd/libeemd.so
首先编译libeemd,直接make,并将libeemd.so复制到pyeemd/pyeemd下面
根据https://bitbucket.org/luukko/pyeemd
git clone https://bitbucket.org/luukko/pyeemd
cd pyeemd
./setup.py install
1.4里面比较蠢的是./setup.py install
不会把libeemd.so放入到指定位置,需要手动挡:
cp pyeemd/libeemd.so /home/haha/soft/anaconda2-4.3.0/envs/py2713/lib/python2.7/site-packages/pyeemd-1.4-py2.7.egg/pyeemd