Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: command not found #8

Open
nopnop2002 opened this issue Jul 6, 2024 · 0 comments
Open

python: command not found #8

nopnop2002 opened this issue Jul 6, 2024 · 0 comments

Comments

@nopnop2002
Copy link

nopnop2002 commented Jul 6, 2024

$ ./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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant