Skip to content

Instantly share code, notes, and snippets.

@j-thepac
Last active January 8, 2022 15:53
Show Gist options
  • Save j-thepac/b0ab1196585cf8b9a8478e4a3c8b6aae to your computer and use it in GitHub Desktop.
Save j-thepac/b0ab1196585cf8b9a8478e4a3c8b6aae to your computer and use it in GitHub Desktop.

az extension add --name db-up --debug

Error:

Building wheel for pymssql (PEP 517): finished with status 'error'
  ERROR: Failed building wheel for pymssql
Failed to build pymssql
ERROR: Could not build wheels for pymssql which use PEP 517 and cannot be installed directly
Exception information:

pip._internal.exceptions.InstallationError: Could not build wheels for pymssql which use PEP 517 and cannot be installed directly

Environnment :

  • Mac Monetary
  • Python 3.6

Ref

Stackoverflow Github

Solution

brew install freetds openssl
export LDFLAGS="-L/usr/local/opt/freetds/lib -L/usr/local/opt/openssl@3/lib"
export CFLAGS="-I/usr/local/opt/freetds/include"
export CPPFLAGS="-I/usr/local/opt/openssl@3/include"
az extension add --name db-up --debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment