Posted by:
ytyng
Category:
Python
6 months, 2 weeks ago
Alpine Linux で google-crc32c==1.1.3 をインストールしようとすると出る #include のエラーの回避方法。
ERROR: Failed building wheel for google-crc32c となったり error: command 'gcc' failed with exit status 1 となる場合。環境変数 CRC32C_PURE_PYTHON=1 を設定すると良い
elasticsearch.exceptions.UnsupportedProductError: The client noticed that the server is not a supported distribution of Elasticsearch
が出る場合。Python の elasticsearch ライブラリが 7.14 で、AWS の OpenSearch / Elasticsearch に接続すると出る。
Posted by:
ytyng
Category:
Python
1 year, 3 months ago
Alpine の Dockerfile 内の Pipenv install が失敗する。
cryptography 3.4.1 のインストールで、 ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly で失敗している。