作者hatemath1991 (hatemath)
看板Python
标题[问题] 关於import PCL这个套件
时间Fri Feb 9 17:34:38 2018
抱歉可以请问一下
我现在想要尝试使用python_pcl去实做有关pointcloud library的部份
目前环境如下
ubuntu 16.04
python3.6
使用conda 管理套件
github网址如下
https://github.com/strawlab/python-pcl
然後我根据里面的连结导到ask ubuntu
https://goo.gl/21Cxj9
安装好pcl 1.8.0 套件
也根据上述网址的验证验证过
但在使用jupyter尝试运行
import pcl时出现
"libpcl_registration.so.1.8: cannot open shared object file: No such file or
directory"
google之後找不到相似问题
想请问如何解决
--------------------------------------
以解决原来是ubuntu内部问题
先用
whereis libiconv.so.2
找出library位置
後在使用
echo "/usr/local/lib" >> /etc/ld.so.conf
ldconfig
就能正常使用了
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.125.96.131
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/Python/M.1518168882.A.3F7.html
※ 编辑: hatemath1991 (140.125.96.131), 02/09/2018 18:38:08