You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed the requirements using the command : pip3 install -r requirements.txt
then when I tried to run the command Python3 uds.py, it shows the error :
//Error
python3 : The term 'python3' 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
But When I tried to use the command ./uds.py it opens a blank cmd window for a second and then that cmd window closes itself and nothing happens in the Powershell.
I had a quick search on google and the answers told me to add the PATH of the Python3.8 to your Environment Variables and I have done that also but still same problem occurs.
Other answer suggest to run python instead of python3 so I tried that also but it shows :
//Error
Traceback (most recent call last):
File "uds.py", line 534, in
main()
File "uds.py", line 452, in main
uds = UDS()
File "uds.py", line 46, in init
self.api = GoogleAPI()
File "C:\Users\Devarsh\Desktop\uds-master\api.py", line 19, in init
self.reauth()
File "C:\Users\Devarsh\Desktop\uds-master\api.py", line 25, in reauth
credentials = store.get()
File "C:\Users\Devarsh\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oauth2client\client.py", line 407, in get
return self.locked_get()
File "C:\Users\Devarsh\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oauth2client\file.py", line 54, in locked_get
credentials = client.Credentials.new_from_json(content)
File "C:\Users\Devarsh\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oauth2client\client.py", line 302, in new_from_json
module_name = data['_module']
KeyError: '_module'
I know that it's for python 3 so using just python is not going to work, but I cannot find a proper solution to run that uds.py file in the Powershell
The text was updated successfully, but these errors were encountered:
OS : Windows 10
Python Version : Python 3.8.0
I have installed the requirements using the command : pip3 install -r requirements.txt
then when I tried to run the command Python3 uds.py, it shows the error :
//Error
python3 : The term 'python3' 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
But When I tried to use the command ./uds.py it opens a blank cmd window for a second and then that cmd window closes itself and nothing happens in the Powershell.
I had a quick search on google and the answers told me to add the PATH of the Python3.8 to your Environment Variables and I have done that also but still same problem occurs.
Other answer suggest to run python instead of python3 so I tried that also but it shows :
//Error
Traceback (most recent call last):
File "uds.py", line 534, in
main()
File "uds.py", line 452, in main
uds = UDS()
File "uds.py", line 46, in init
self.api = GoogleAPI()
File "C:\Users\Devarsh\Desktop\uds-master\api.py", line 19, in init
self.reauth()
File "C:\Users\Devarsh\Desktop\uds-master\api.py", line 25, in reauth
credentials = store.get()
File "C:\Users\Devarsh\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oauth2client\client.py", line 407, in get
return self.locked_get()
File "C:\Users\Devarsh\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oauth2client\file.py", line 54, in locked_get
credentials = client.Credentials.new_from_json(content)
File "C:\Users\Devarsh\AppData\Local\Programs\Python\Python38-32\lib\site-packages\oauth2client\client.py", line 302, in new_from_json
module_name = data['_module']
KeyError: '_module'
I know that it's for python 3 so using just python is not going to work, but I cannot find a proper solution to run that uds.py file in the Powershell
The text was updated successfully, but these errors were encountered: