江湖救急,求教树莓派Raspbian安装OpenMV IDE的方法!
-
想要通过树莓派和Openmv实现远程编程和调试,个人水平有限,参考gayhub上在Pi3B上编译安装IDE的教程,在Raspbian(Jessie)上安装失败,能否可以提供在树莓派上详细的安装办法呢(MD文档应该是在Pi的Ubuntu下安装的,并且Raspbian里安装Qtrpi都不顺利)
还有就是希望能够提供通过源码编译IDE的教程……
-
-
谢天谢地~刷了stretch之后居然顺利安装成功了!!!!
切换的清华的国内源,校园网被墙,不过速度很快,依赖包都可以载下来。
之前jessie版本的总是在pyusb这一步卡住,这次也报了几个异常,不过连接上板子之后试试了试暂时没有发现什么问题。下面是返回的一些异常,不知道在不同的系统中安装会不会有区别,供参考吧,虽然不懂
Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/usr/lib/python2.7/dist-packages/pip/download.py", line 659, in unpack_http_url hashes) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 853, in _download_http_url stream=True, File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get return self.request('GET', url, **kwargs) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request return super(PipSession, self).request(method, url, *args, **kwargs) File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request resp = self.send(prep, **send_kwargs) File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send r = adapter.send(request, **kwargs) File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send resp = super(CacheControlAdapter, self).send(request, **kw) File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send timeout=timeout File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen _stacktrace=sys.exc_info()[2]) File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment total -= 1 TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
运行图:
无线连路由器,远程桌面调试美滋滋:
-
之前编译是看了GitHub中的OpenmvIDE编译源码方式运行IDE的?
另外就是想研究一下算法的源码,IDE里好像是无法查看和修改源码的吧,通过修改源码,然后重新编译生成IDE?我是这个思路,自己挖坑自己跳……
QtRpi的安装也很麻烦,记得最后貌似也是卡在了pyusb这里,官方给出的编译环境是Ubuntu64。
-
算法的源码。。。和IDE一点关系都没有,你应该编译固件。
https://forum.singtown.com/topic/69/sensor-模块的源码在哪里-怎样查看-谢谢
-
希望出一个教程,尝试了好多方法都失败了