python: command not found
Opened this issue · 0 comments
nopnop2002 commented
$ ./build.sh milkv-duo256m-glibc-arm64-sd
./generate_toolJson.sh: line 70: python: command not found
Updated 1 path from the index
cat: pqtool_definition.json: No such file or directory
the json file is a invalid, error is : ./generate_toolJson.sh: line 74: python: command not found!!!
make[3]: *** [Makefile:11: all] Error 255
make[3]: Leaving directory '/home/nop/duo-buildroot-sdk-v2/middleware/v2/modules/isp/cv181x'
make[2]: *** [Makefile:8: all] Error 1
make[2]: Leaving directory '/home/nop/duo-buildroot-sdk-v2/middleware/v2/modules/isp'
make[1]: *** [Makefile:18: all] Error 1
make[1]: Leaving directory '/home/nop/duo-buildroot-sdk-v2/middleware/v2/modules'
make: *** [Makefile:35: module] Error 2
build middleware failed !!
~/duo-buildroot-sdk-v2/build
We need to install python-is-python3.
sudo apt install python-is-python3
Traceback (most recent call last):
File "/home/nop/duo-buildroot-sdk-v2/middleware/v2/modules/isp/common/toolJsonGenerator/hFile2json.py", line 5, in <module>
from jinja2 import Template
ModuleNotFoundError: No module named 'jinja2'
Updated 1 path from the index
cat: pqtool_definition.json: No such file or directory
the json file is a invalid, error is : Expecting value: line 1 column 1 (char 0)!!!
make[3]: *** [Makefile:11: all] Error 255
make[3]: Leaving directory '/home/nop/duo-buildroot-sdk-v2/middleware/v2/modules/isp/cv181x'
make[2]: *** [Makefile:8: all] Error 1
make[2]: Leaving directory '/home/nop/duo-buildroot-sdk-v2/middleware/v2/modules/isp'
make[1]: *** [Makefile:18: all] Error 1
make[1]: Leaving directory '/home/nop/duo-buildroot-sdk-v2/middleware/v2/modules'
make: *** [Makefile:35: module] Error 2
build middleware failed !!
We need to install jinja2.
python3 -m pip install Jinja2
spi device not found.
[root@milkv-duo]~# ls /dev/i2c*
/dev/i2c-0 /dev/i2c-1 /dev/i2c-2 /dev/i2c-3 /dev/i2c-4
[root@milkv-duo]~# ls /dev/spi*
ls: /dev/spi*: No such file or directory