-
-
Notifications
You must be signed in to change notification settings - Fork 281
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
KeyError: '_module' #95
Comments
Hello try to use an envirement , virtualenv or any thing like this . |
Tested this out, the error does pop up. Some forums say it has to do with quickstart, but this seems less like the case. After installing the requirements manually, and installing the required elements from step 2 of the google guide, my Python3 install was able to run it (I can not verify much beyond that as I have 5 installs spaghettified together...) So, try installing with a specific interpreter, the requirements one by one (py -3.8 -m pip install X Y Z) |
For me the problem was that when I downloaded the client secret from google's api it saved as credentials.json, so i moved it to uds folder and copied it to client_secret.json. This left old credentials.json file, which uds api needs to be something else. |
PS C:\Users\Dhaval\Downloads\uds-master> python3 uds.py push ~\Desktop\ffmpeg.exe
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\Dhaval\Downloads\uds-master\api.py", line 19, in init
self.reauth()
File "C:\Users\Dhaval\Downloads\uds-master\api.py", line 25, in reauth
credentials = store.get()
File "C:\Users\Dhaval\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\oauth2client\client.py", line 407, in get
return self.locked_get()
File "C:\Users\Dhaval\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\oauth2client\file.py", line 54, in locked_get
credentials = client.Credentials.new_from_json(content)
File "C:\Users\Dhaval\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\oauth2client\client.py", line 302, in new_from_json
module_name = data['_module']
KeyError: '_module'
help me out please reply me
The text was updated successfully, but these errors were encountered: