ubuntu16.04安装ILCC

7 篇文章 0 订阅
  • 安装依赖项

1.opencv

git clone https://github.com/opencv/opencv.git
cd opencv && mkdir build && cd build && make -j4 
sudo make install

2.opengv

git clone https://github.com/mfxox/opengv
cd opengv
mkdir build && cd build && cmake .. && make -j4
sudo make install

3.PCL

git clone https://github.com/mfxox/python-pcl
cd python-pcl
sudo python setup.py install

4.MATLAB engine for python

1)先安装MATLAB2014b及以上版本.我安装的MATLAB2017b,参考:https://blog.csdn.net/qq_32892383/article/details/79670871

2)其中matlabroot为MATLAB安装目录,我的是/usr/local/MATLAB/R2017b

cd "matlabroot/extern/engines/python"
sudo python setup.py install
  • 下载ILCC编译安装

git clone https://github.com/mfxox/ILCC
cd ILCC
sudo python setup.py install

此过程可能会出现下载matplotlib 3.0.0失败的情况,因为matplotlib 3.0.0要求Python版本3.5以上,此时我们需要安装matplotlib 2.x.x版本即可.我安装的是matplotlib 2.2.0,安装步骤如下:

1)官网下载matplotlib-2.2.0.tar.gz安装包:https://pypi.org/project/matplotlib/2.2.0/#files

2)

sudo pip install distribute
sudo pip install six

python setup.py build
sudo python setup.py install

在终端中输入python,而后输入:

import matplotlib
print matplotlib.__version__

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值