MXnet在Linux下安装
1.sudo apt-get install -y build-essential git libblas-dev libopencv-dev libv8-dev librsvg2-dev libfftw3-dev libatlas-base-dev
2.git clone --recursive https://github.com/dmlc/mxnet
3.cd mxnet
make -j4
4.Rscript -e "install.packages('devtools', repo = 'https://cran.rstudio.com')"
cd R-package
Rscript -e "library(devtools); library(methods); options(repos=c(CRAN='https://cran.rstudio.com')); install_deps(dependencies = TRUE)"
cd ..
make rpkg
R CMD INSTALL mxnet_0.7.tar.gz
参考:http://lchiffon.github.io/2015/11/06/install.html
错误Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/xuefliang/R/x86_64-pc-linux-gnu-library/3.3/stringi/libs/stringi.so':
libicui18n.so.52: cannot open shared object file: No such file or directory
解决:重新安装stringi包
2.git clone --recursive https://github.com/dmlc/mxnet
3.cd mxnet
make -j4
4.Rscript -e "install.packages('devtools', repo = 'https://cran.rstudio.com')"
cd R-package
Rscript -e "library(devtools); library(methods); options(repos=c(CRAN='https://cran.rstudio.com')); install_deps(dependencies = TRUE)"
cd ..
make rpkg
R CMD INSTALL mxnet_0.7.tar.gz
参考:http://lchiffon.github.io/2015/11/06/install.html
错误Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/xuefliang/R/x86_64-pc-linux-gnu-library/3.3/stringi/libs/stringi.so':
libicui18n.so.52: cannot open shared object file: No such file or directory
解决:重新安装stringi包
评论
发表评论