Open spboyer opened 6 years ago
@spboyer, can you share the install command? It's strange that it is looking for Azure-CLI as we don't have that as a dependency for mssql-cli.
pip install mssql-cli
macOS High Sierra using zsh
ran pip install mssql-cli -v
pip install mssql-cli -v ✔ 8711 08:51:58
Created temporary directory: /private/var/folders/gj/1mgg_4jx7mbdqbhw1kgcpcjr0000gn/T/pip-ephem-wheel-cache-GLDzDz
Created temporary directory: /private/var/folders/gj/1mgg_4jx7mbdqbhw1kgcpcjr0000gn/T/pip-install-K4cDbl
Requirement already satisfied: mssql-cli in /Library/Python/2.7/site-packages (0.15.0)
Requirement already satisfied: argparse>=1.2.1 in /Library/Python/2.7/site-packages (from mssql-cli) (1.4.0)
Requirement already satisfied: Pygments>=2.0 in /Library/Python/2.7/site-packages (from mssql-cli) (2.2.0)
Requirement already satisfied: humanize>=0.5.1 in /Library/Python/2.7/site-packages (from mssql-cli) (0.5.1)
Requirement already satisfied: cli-helpers<1.0.0,>=0.2.3 in /Library/Python/2.7/site-packages (from mssql-cli) (0.2.3)
Requirement already satisfied: prompt-toolkit<1.1.0,>=1.0.10 in /Users/shayneboyer/Library/Python/2.7/lib/python/site-packages (from mssql-cli) (1.0.14)
Requirement already satisfied: click>=4.1 in /Library/Python/2.7/site-packages (from mssql-cli) (6.7)
Requirement already satisfied: wheel>=0.29.0 in /Library/Python/2.7/site-packages (from mssql-cli) (0.31.1)
Requirement already satisfied: sqlparse<0.3.0,>=0.2.2 in /Library/Python/2.7/site-packages (from mssql-cli) (0.2.4)
Requirement already satisfied: configobj>=5.0.6 in /Library/Python/2.7/site-packages (from mssql-cli) (5.0.6)
Requirement already satisfied: applicationinsights>=0.11.1 in /Users/shayneboyer/Library/Python/2.7/lib/python/site-packages (from mssql-cli) (0.11.5)
Requirement already satisfied: future>=0.16.0 in /Library/Python/2.7/site-packages (from mssql-cli) (0.16.0)
Requirement already satisfied: enum34>=1.1.6 in /Users/shayneboyer/Library/Python/2.7/lib/python/site-packages (from mssql-cli) (1.1.6)
Requirement already satisfied: terminaltables>=3.0.0 in /Library/Python/2.7/site-packages (from cli-helpers<1.0.0,>=0.2.3->mssql-cli) (3.1.0)
Requirement already satisfied: backports.csv>=1.0.0 in /Library/Python/2.7/site-packages (from cli-helpers<1.0.0,>=0.2.3->mssql-cli) (1.0.6)
Requirement already satisfied: wcwidth in /Users/shayneboyer/Library/Python/2.7/lib/python/site-packages (from prompt-toolkit<1.1.0,>=1.0.10->mssql-cli) (0.1.7)
Requirement already satisfied: six>=1.9.0 in /Library/Python/2.7/site-packages (from prompt-toolkit<1.1.0,>=1.0.10->mssql-cli) (1.11.0)
azure-cli-shell 0.2.0 requires azure-cli, which is not installed.
Cleaning up...
Does install... still shows errors, but runs?
Issue
OS MacOS High Sierra 10.13.4
python info Python 2.7.10 /usr/bin/python
pip info Version :
pip 10.0.1 from /Library/Python/2.7/site-packages/pip (python 2.7)
where:Azure CLI was installed, not using
pip
but bybrew install
per the docs. Azure version: 2.0.33 referencing python 3.6 (required) in the following location:Python location '/usr/local/opt/python/bin/python3.6'
Could install each of the required items passing the
--user
flag and resolve all but the azure-cli item.