Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Apple Silicon #537

Open
reekystive opened this issue Jan 10, 2022 · 4 comments
Open

Support for Apple Silicon #537

reekystive opened this issue Jan 10, 2022 · 4 comments

Comments

@reekystive
Copy link

reekystive commented Jan 10, 2022

No arm64 Support

Future Macs may all use the arm64 architecture. Please add support for arm64, thanks!

System Info

OS: macOS Monterey Version 12.1 (21C52)
Chip: Apple M1

Architecture:

$ uname -m
arm64

Python & Pip Version

$ pip3 --version    
pip 21.3.1 from /Users/reeky/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)

$ python3 --version  
Python 3.9.9

Install & Run

$ pip3 install --user mssql-cli                                  
Looking in indexes: https://pypi.org/simple
Collecting mssql-cli
  Using cached mssql_cli-0.3-py3-none-any.whl
Collecting pymssql
  Using cached pymssql-2.2.3-cp39-cp39-macosx_12_0_arm64.whl
Installing collected packages: pymssql, mssql-cli
Successfully installed mssql-cli-0.3 pymssql-2.2.3

$ mssql-cli                                                             
zsh: command not found: mssql-cli

It's successfully installed, but there's no executable file:

$ ls -l /Users/reeky/Library/Python/3.9/lib/python/site-packages | grep mssql_cli
drwxr-xr-x    5 reeky  staff     160 Jan 10 19:06 mssql_cli
drwxr-xr-x    8 reeky  staff     256 Jan 10 19:06 mssql_cli-0.3.dist-info

$ ls -l /Users/reeky/Library/Python/3.9/bin | grep mssql-cli
(nothing)

mssql-cli Info

The latest version of mssql-cli is 1.0.0, but 0.3 is installed:

$ pip3 show mssql-cli         
Name: mssql-cli
Version: 0.3
Summary: A way to run queries and execute commands against an MSSQL database.
Home-page: http://github.com/seanchon/mssql_cli/
Author: Sean Chon
Author-email: [email protected]
License: MIT
Location: /Users/reeky/Library/Python/3.9/lib/python/site-packages
Requires: pymssql
Required-by:

And there's no 1.0.0 for arm64:

$ pip install --user mssql-cli==1.0.0                           
Looking in indexes: https://pypi.org/simple
ERROR: Could not find a version that satisfies the requirement mssql-cli==1.0.0 (from versions: 0.1, 0.2, 0.3)
ERROR: No matching distribution found for mssql-cli==1.0.0
@Gabby-Paolucci
Copy link

Gabby-Paolucci commented Jan 15, 2022

I'm experiencing the same exact problem in Termux on Android (so also arm64). I tried manually installing the 1.0.1 wheel and the installation completes but doesn't actually install the package.

@KennethJakobsen
Copy link

same

@ca0abinary
Copy link

Not a fix, but this helped me run the command.
Setup pyenv for rosetta

pyenv global 3.9.13_x86
pip install mssql-cli
mssql-cli

@seanchen
Copy link

Any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants