|
本帖最后由 chhuang 于 2020-1-13 17:17 编辑
之前我按照下面的步驟可以跑 demo
1. sudo dnf install -y python3-opencv
2. sudo dnf install –y rockx-devel
3. sudo dnf install python3-toybrick-0.2-12.aarch64.rpm(安装包位于Demo的1808目录下)
4. 执行python3 face_landmark_server.py启动或者可以设置为开机自启动。开机自启动方法参考http://t.rock-chips.com/wiki.php?mod=view&id=74
但現在已經無法透過 dnf 安裝 rockx-devel, 後來是安裝 rockx-rk1808, 所以我的步驟變成
1. sudo dnf install -y python3-opencv
2. sudo dnf install –y rockx-rk1808
3. sudo dnf install python3-toybrick-0.2-12.aarch64.rpm(安装包位于Demo的1808目录下)
4. 执行python3 face_landmark_server.py
但出現 error
Traceback (most recent call last):
File "face_landmark_server.py", line 2, in <module>
import toybrick as toy
File "/usr/local/lib/python3.6/site-packages/toybrick/__init__.py", line 34, in <module>
from toybrick.rockx import createRockx, RockxType, Rockx
File "/usr/local/lib/python3.6/site-packages/toybrick/rockx.py", line 1, in <module>
from . import rkrockx
ImportError: libobject_detection.so: cannot open shared object file: No such file or directory
請問如何修改?
另外我有試著安裝 pip3 install --user rockx -i http://repo.rock-chips.com/pypi/simple --trusted-host=repo.rock-chips.com
但出現儲存空間不足 ~~補上空間不足的 log
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python3.6/site-packages/pip/commands/install.py", line 346, in run
requirement_set.prepare_files(finder)
File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python3.6/site-packages/pip/req/req_set.py", line 620, in _prepare_file
session=self.session, hashes=hashes)
File "/usr/lib/python3.6/site-packages/pip/download.py", line 821, in unpack_url
hashes=hashes
File "/usr/lib/python3.6/site-packages/pip/download.py", line 659, in unpack_http_url
hashes)
File "/usr/lib/python3.6/site-packages/pip/download.py", line 882, in _download_http_url
_download_url(resp, link, content_file, hashes)
OSError: [Errno 28] No space left on device
|
|