Hovatek Forum DEVELOPMENT Android vbmeta-sign Key Problem For Unlock Bootlaoder
Try our Online TWRP Builder..its free!
Can't login? Please, reset your password.


vbmeta-sign Key Problem For Unlock Bootlaoder

vbmeta-sign Key Problem For Unlock Bootlaoder

asadgsm
asadgsm
asadgsm
Newbie
2
06-10-2022, 06:04 PM
#1



On Python 3 am facing this error on windows 10
PS C:\vbmeta> python avbtool.py info_image --image vbmeta-sign.img
C:\Python27\python.exe: can't open file 'avbtool.py': [Errno 2] No such file or directory
PS C:\vbmeta>
and sometime this error on other pc 
File "C:\Users\Administrator\Downloads\[Hovatek] avbtool\avbtool.py", line 411
    b = 2L**32
        ^
SyntaxError: invalid decimal literal
PS C:\Users\Administrator\Downloads\[Hovatek] avbtool>


On Python 2 the error is on windows 10
PS C:\Users\Administrator\Downloads\[Hovatek] avbtool> python2 avbtool.py info_image --image vbmeta-sign.img
python2 : The term 'python2' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python2 avbtool.py info_image --image vbmeta-sign.img
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (python2:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
hovatek
hovatek
hovatek
Administrator
49,619
08-10-2022, 10:12 AM
#2
(06-10-2022, 06:04 PM)asadgsm On Python 3 am facing this error on windows 10
PS C:\vbmeta> python avbtool.py info_image --image vbmeta-sign.img
C:\Python27\python.exe: can't open file 'avbtool.py': [Errno 2] No such file or directory
PS C:\vbmeta>
and sometime this error on other pc 
File "C:\Users\Administrator\Downloads\[Hovatek] avbtool\avbtool.py", line 411
    b = 2L**32
        ^
SyntaxError: invalid decimal literal
PS C:\Users\Administrator\Downloads\[Hovatek] avbtool>


On Python 2 the error is on windows 10
PS C:\Users\Administrator\Downloads\[Hovatek] avbtool> python2 avbtool.py info_image --image vbmeta-sign.img
python2 : The term 'python2' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python2 avbtool.py info_image --image vbmeta-sign.img
+ ~~~~~~~
    + CategoryInfo          : ObjectNotFound: (python2:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

You would be better off using Ubuntu but if you must use Windows then uninstall python 3 and install 2.7 instead and run python --version to confirm that python v2 is recognized in environmental variables
This post was last modified: 08-10-2022, 10:14 AM by hovatek.

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl