會將rce相關套件裝到 /usr/local/lib/python2.7/dist-packages中
如要使用安裝在~/anaconda中的python會找不到rce相關套件
所以
~/rce$ ./setup/provision all
會import不到RCE套件
因此可以用以下兩種方式(擇一即可):
1. 將/usr/local/lib/python2.7/dist-packages中的相關套件與.pth檔複製到
~/anaconda/lib/python2.7/site-packages中
2.修改或新增.pth檔到~/anaconda/lib/python2.7/site-packages將相關的RCE egg指到
/usr/local/lib/python2.7/dist-packages
如:
/usr/local/lib/python2.7/dist-packages/rce_util-0.3-py2.7.egg
/usr/local/lib/python2.7/dist-packages/rce_comm-0.3-py2.7.egg
/usr/local/lib/python2.7/dist-packages/autobahn_rce-0.6.0.5-py2.7-linux-x86_64.egg
/usr/local/lib/python2.7/dist-packages/Twisted-14.0.2-py2.7-linux-x86_64.egg
/usr/local/lib/python2.7/dist-packages/rce_core-0.3-py2.7.egg
/usr/local/lib/python2.7/dist-packages/python_iptables-0.5.0-py2.7-linux-x86_64.egg
/usr/local/lib/python2.7/dist-packages/rce_client-0.3-py2.7.egg
/usr/local/lib/python2.7/dist-packages/rce_console-0.3-py2.7.egg
如有缺少zope.interface套件
可用 pip install zope.interface安裝
而RCE只支援到UBUNTU 13.04 + ROS hydro
如要使用UBUNTU 14.04 + ROS indigo需要修改provision檔
可將版本改掉
in my case:
using 'tursty' to substitute 'Raring'
using 'indigo' to substitute 'hydro'
remove openvswitch-brcompat in _HOST_PKGS , becouse it cannot find it in ubuntu 14.04 and some one say ubuntu 14.04 for OVS don't need that.
http://openvswitch.org/