0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

エラー 「ERROR: 'OpenSSL.crypto' has no attribute 'sign'」の解決

Posted at

gcloud storage sign-urlを実行しようとしたところ、表題の通りのエラーが発生した。

解決方法

依存ライブラリのpyOpenSSLのバージョンを25.0.0から24.2.1にダウングレードする

pip install pyOpenSSL==24.1.1

エラーの原因

pyOpenSSLの依存先openSSLv24.3.0でsignメソッドが削除されたため。

参考リンク

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?