Need help with django site, can'y deploy :(

Not able to deploy django project from github

Command ['/opt/render/project/src/.venv/bin/pip', 'install', '--no-deps', '/opt/render/.cache/.python-poetry/cache/artifacts/2c/47/b3/474427b8bb6bdf85fb00155ca49acdfa8f1e773b7f5dfe7212fcf7720d/cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl'] errored with the following return code 1, and output:

ERROR: cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl is not a supported wheel on this platform.

What do I do?

Hi there,

Thanks for reaching out.

It appears these wheel errors have been known to occur when using Poetry, as noted in this GitHub issue: https://github.com/python-poetry/poetry/issues/2688. The original issue is around grpcio , however, cryptography is also mentioned as having issue in some version combinations in the comments.

It seems to be a case of ensuring the versions of pip & Poetry work together. Maybe ensuring Poetry is up-to-date and also upgrading pip as part of your Build Command may help? e.g. python -m pip install --upgrade pip

Hope that helps

Kind regards

Alan

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.