(1)以下是windows系统python下的安装:
基本是参考网站:
http://juiceyang.com/2016/03/24/how-to-install-pyeemd-on-windows-in-3-steps/
(1)值得注意的是,在安装的时候,最好用右键选择“管理员身份运行”MinGW
(2)MinGW中安装git命令:
安装 Git搜索 gitpacman -Sl |grep git 安装 MSYS2 的 git:pacman -S git
(2)如果是linux系统下,
linux 下
安装gsl(libeemd的依赖包)
wget http://mirrors.ustc.edu.cn/gnu/gsl/gsl-2.4.tar.gz
cd gsl-2.4
./configure
make
make install
安装libeemd
wget https://bitbucket.org/luukko/libeemd/get/4aaaea9bbc52.zip
cd luukko-libeemd-4aaaea9bbc52/
make
make install
安装pyeemd
wget https://bitbucket.org/luukko/pyeemd/get/bfc6a5873741.zip
unzip bfc6a5873741.zip
cd luukko-pyeemd-bfc6a5873741/
python3 setup.py install --user
进入python,如下:
import pyeemd
如果出错了,
请参照:http://blog.sciencenet.cn/blog-669638-1084314.html
修改一下。
本文来自夏江江科学网博客。
链接地址:http://blog.sciencenet.cn/blog-669638-1073880.html