googleapis / python-crc32c

Apache License 2.0
22 stars 25 forks source link

_SLOW_CRC32C_WARNING #139

Closed leeyunjai82 closed 8 months ago

leeyunjai82 commented 2 years ago

/usr/local/lib/python3.7/dist-packages/google_crc32c/init.py:29: RuntimeWarning: As the c extension couldn't be imported, google-crc32c is using a pure python implementation that is significantly slower. If possible, please configure a c build environment and compile the extension warnings.warn(_SLOW_CRC32C_WARNING, RuntimeWarning)

This version is 1.3.0

parthea commented 8 months ago

See https://github.com/googleapis/python-crc32c/issues/83#issuecomment-910515271 which includes a Dockerfile to avoid using pure python for users who are on non-manylinux Linux platforms. I'm going to close this issue but please feel free to open a new issue with more information. If you're still having issues after trying https://github.com/googleapis/python-crc32c/issues/83#issuecomment-910515271 please also share the Dockerfile to help reproduce the issue.