2016-07-05 34 views
1

後,我通過Python的使用谷歌存儲boto plugin谷歌存儲服務帳戶認證需要PyOpenSSL一段時間

我的Python腳本預期約一個小時左右工作。然後,它給我的錯誤:

Service account authentication requires PyOpenSSL. Please install this library and try again. 

我的代碼:安裝

import boto 

src_uri = boto.storage_uri(DOGS_BUCKET + '/' + filename, GOOGLE_STORAGE) 
object_contents = StringIO.StringIO() 
src_uri.get_key().get_file(object_contents) 

pyopenssl

回答

1

這個問題是由太舊Python版本引起

我沒有這些問題與蟒蛇2.7.9 +