LoginSignup
0
0

More than 3 years have passed since last update.

【エラー】Big SurでDynamoDBのmockであるmotoがインストールできない

Posted at

問題

DynamoDB のテストを pytest にて書こうとした時、
macOS Big Sur で pipenv install moto -dev コマンドを実行したが、
下記のエラーがでてインストールできなかった。

shell
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly
✘ Installation Failed 

解決策

shell
env LDFLAGS="-L$(brew --prefix openssl@1.1)/lib" CFLAGS="-I$(brew --prefix openssl@1.1)/include" pipenv install moto -dev

Sources:
error while installing cryptography or cffi on Big Sur · Issue #5572 · pyca/cryptography · GitHub
Installation — Cryptography 3.3.dev1 documentation

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