pip3 install するときに、Failed building wheel for cryptography

はてなブックマーク - pip3 install するときに、Failed building wheel for cryptography
LINEで送る
Pocket

ubuntuで

(Python3) pip3 install するときに

「Failed building wheel for cryptography」

というエラーが出てきまして、パッケージのインストールができません。

原因は依存しているライブラリーがインストールしてない模様です。

こちらをご参照ください。

https://cryptography.io/en/latest/installation/#debian-ubuntu

(おそらく、libssl-dev libffi-dev)

下記のコマンドを実行します。

sudo apt-get install build-essential libssl-dev libffi-dev python3-dev

これで、もう一回

pip3 install -r requirements.txt

実行して、スムーズに行けました!

 

はてなブックマーク - pip3 install するときに、Failed building wheel for cryptography
LINEで送る
Pocket

Add a Comment

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close