Open ethan-fox-capsule opened 3 years ago
I am having this exact issue as well.
I also have this issue
Open the mssql-cli with vim(/usr/local/bin/mssql-cli), change the last line which python -m mssqlcli.main "$@"
to python3 -m mssqlcli.main "$@"
, it works for me!
Hello, I am on macOS Catalina 10.15.7, trying to use mssql-cli to query a SQL Server DB, I installed using
pip3 install mssql-cli
, but for some reason the CLI thinks it should be pointed at Python 2.7:for reference here is the version info of my various relevant commands:
Any pointers for un-crossing the wires to point at the correct directory on cli startup would be appreciated.