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
{{ message }}
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.
Traceback (most recent call last):
File "addcolumn.py", line 1, in
import gdata.spreadsheet.service
File "/Library/Python/2.7/site-packages/gdata/spreadsheet/service.py", line 32, in
import gdata.service
File "/Library/Python/2.7/site-packages/gdata/service.py", line 80, in
import gdata.auth
File "/Library/Python/2.7/site-packages/gdata/auth.py", line 29, in
import gdata.oauth.rsa as oauth_rsa
File "/Library/Python/2.7/site-packages/gdata/oauth/rsa.py", line 10, in
from tlslite.utils import keyfactory
ImportError: No module named tlslite.utils
The text was updated successfully, but these errors were encountered:
I got the same error, when trying to run tests using /tests/run_data_tests.py. Seems like tlslite isn't part of python 2.7, shouldn't it be listed as a dependency?
Adding tlslite to src/gdata directory to solve import errors
When adding tlslite directory into /src/gdata, the factory-key is found
and import errors are solved... ;-)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
import gdata.spreadsheet.service
import sys
import string
import json
with open("GoogleAppPw.json") as fh:
config = json.load(fh)
client = gdata.spreadsheet.service.SpreadsheetsService()
client.ClientLogin(config['email'], config['password'])
##############OUTPUT
Traceback (most recent call last):
File "addcolumn.py", line 1, in
import gdata.spreadsheet.service
File "/Library/Python/2.7/site-packages/gdata/spreadsheet/service.py", line 32, in
import gdata.service
File "/Library/Python/2.7/site-packages/gdata/service.py", line 80, in
import gdata.auth
File "/Library/Python/2.7/site-packages/gdata/auth.py", line 29, in
import gdata.oauth.rsa as oauth_rsa
File "/Library/Python/2.7/site-packages/gdata/oauth/rsa.py", line 10, in
from tlslite.utils import keyfactory
ImportError: No module named tlslite.utils
The text was updated successfully, but these errors were encountered: