ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be installed directly March 3, 2023 by Tarik In my case (windows 10 + conda) updating pip fixed the problem: python -m pip install --upgrade pip