(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