Python gsutil config-e发出奇怪的错误消息

Python gsutil config-e发出奇怪的错误消息,python,oauth-2.0,google-cloud-storage,boto,gsutil,Python,Oauth 2.0,Google Cloud Storage,Boto,Gsutil,我以前在这台机器上设置了gsutil和Boto,以便与Google云存储一起使用。当我试图从命令提示符运行gsutil config-e时,我遇到了一个奇怪的异常 CommandException: Service account authentication requires either PyOpenSSL or PyCrypto 2.6 or later. Please install either of these to proceed, or configure a different

我以前在这台机器上设置了gsutil和Boto,以便与Google云存储一起使用。当我试图从命令提示符运行
gsutil config-e
时,我遇到了一个奇怪的异常

CommandException: Service account authentication requires either
PyOpenSSL or PyCrypto 2.6 or later. Please install either of these
to proceed, or configure a different type of credentials.

PyOpenSSL和PyCrypto都已经安装并在以前工作过,我以前从未见过有人问过这个问题。卸载/重新安装boto和gsutil并没有解决问题。

通过运行“from openssl import crypto”可以从计算机上的python解释器成功导入openssl吗?该检查是HAS_CRYTPO在此处为true的结果,因此请确保您可以成功执行这些检查。重新安装GoogleAPI python客户端也值得一试。