dbcli / mssql-cli

A command-line client for SQL Server with auto-completion and syntax highlighting
BSD 3-Clause "New" or "Revised" License
1.35k stars 192 forks source link

Apple Silicon ERROR: Could not find a version that satisfies the requirement mssql-cli (from versions: 0.1, 0.2, 0.3) ERROR: No matching distribution found for mssql-cli #563

Open y91EJ opened 1 year ago

y91EJ commented 1 year ago

I am on an M1 macOS Ventura 13.4 and am trying to install this mssql-cli in the terminal. When running the following:

sudo -H pip3 install mssql-cli

This error message appears:

ERROR: Could not find a version that satisfies the requirement mssql-cli (from versions: 0.1, 0.2, 0.3)
ERROR: No matching distribution found for mssql-cli

I am on a stable version of python, 3.10, and I updated pip to the latest version. When I run:

pip3 -V

This shows:

pip 23.1.2 from /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pip (python 3.10)

How do I install mssql-cli? Should I move on to go-sqlcmd?

azinsharaf commented 1 year ago

This repo has ben deprecated and has some python compatibility issue. I would suggest to check the go version.

ksrisurapaneni commented 1 year ago

Getting the same error.

azinsharaf commented 1 year ago

check this one instead and see if it works.

https://github.com/microsoft/go-sqlcmd