esabelhaus / google-api-python-client

Automatically exported from code.google.com/p/google-api-python-client
Other
0 stars 0 forks source link

no crypto library available #345

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
[Use this form for both apiclient and oauth2client issues]

What steps will reproduce the problem?
1.The .py file works just fine on my pc until i try to compile it into an .exe 
file

2.i have narrowed the problem down to this line of code "credentials = 
SignedJwtAssertionCredentials(json_key['client_email'], 
bytes(json_key['private_key'], 'utf-8'), scope)"

3.also if i run the same program that worked on my pc on a friends pc it throws 
the same "no cryto library availibe" exception

What is the expected output? What do you see instead?
the expected output is 

What version of the product are you using? On what operating system?
i am using oauth2client on windows 7

Please provide any additional information below.
this is the error message 
File "online_staus_for_trae.py", line 10, in <module>
    credentials = SignedJwtAssertionCredentials(json_key['client_email'], bytes(
json_key['private_key'], 'utf-8'), scope)
  File "C:\Python34\lib\site-packages\oauth2client-1.4.11-py3.4.egg\oauth2client
\util.py", line 137, in positional_wrapper
  File "C:\Python34\lib\site-packages\oauth2client-1.4.11-py3.4.egg\oauth2client
\client.py", line 1503, in init
  File "C:\Python34\lib\site-packages\oauth2client-1.4.11-py3.4.egg\oauth2client
\client.py", line 1457, in _RequireCryptoOrDie
oauth2client.client.CryptoUnavailableError: No crypto library available

Original issue reported on code.google.com by Logan.pa...@gmail.com on 8 Jul 2015 at 2:44