-
Notifications
You must be signed in to change notification settings - Fork 191
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
Error when using mssql-cli with Python 3.10 latest version #531
Comments
Hi all, Regards, |
tabulate was removed as a vendored package and added as a dependency. Perhaps you might want to upgrade cli_helpers package. |
This solves my issue by forcing |
Yep, using Python 3.9.9 works for me too! |
Hi all, I've just tried the following today to no avail:
However, using Python 3.9.9 works for me. I decided to keep Python 3.9.9 pinned in Chocolatey for now, as that is the package manager I use in Windows. |
I hit the same thing - Python 3.10 on a Windows 10 machine got the following error:
Installing Python 3.9.9 was the only way I could work around it. |
Are you surprised how they simply ignore this and don't want to fix it at all? |
FYI this has already been fixed in code, it's just there hasn't been a release of this module in over 2 years :/ |
Wondering if this is managed by Microsoft? What happens to the famous Microsoft management? |
Tried to run SQL Server Analysis Services on Linux and realized, that there is no such option😂 Also needed plugin for Visual Studio to extract the cube. This plugin is supported up to VS 2019, so I needed to install one😌 But Microsoft is working hard on another Windows Update in the meantime🥳 |
Still no support for Python 3.10? 3.11 is already out... |
Command line tools are less import in Microsoft's philosophy. lol. Unsubscribing. |
@ashb Would you mind help pointing to the code that fixed this? if possible of course. |
The following steps solved my problem.
If that does not work, you can also upgrade tabulate:
Also set the environment variable to your shell config file (believe you can also set it in mssqlrc but I haven't tried it):
may also need to change the 'mssql-cli' bash file line 16 to |
|
I have freshly installed Ubuntu 22.04 and canät get mssql-cli working. Previously I have successfully usd pyenv to get compatible version, but now I get: "No usable version of libssl was found" If I try to install lib ssl with pipi install ssl it fails – I believe since package is not maintained and python has ssl internally included anyway. Iäm out of ideas, since above people seem to be able to get mssql-cli running on 3.9.x versions. I've tried now 3.9.9. 3.9.5 and 3.5.5 under pyenv and with all the same issue about libssl. |
Still have same problem from Ubuntu 22.04 on WSL on Windows11. |
The first command worked for me in Python 3.12.2. :) |
Hi all,
I'm writing this issue because I came across an error when using mssql-cli with the latest Pyton 3.10. Installation goes fine, however, when trying to run mssql-cli to connect to a local SQL Server instance, I got this:
From what I understood, it looks like mssql-cli has a dependency on cli-helpers which in turn depends on some tabular packages and the one for tabulate.py can't find the Iterable type in "collections". Could this mean that the dependencies need to be updated?
I'm not a Python developer, my background is .NET, so I'm not sure how to solve this. For now I'm planning on going back to Python 3.9 which I think it could work, I just wanted to point this out.
Thanks for your help on this.
Regards,
Jorge
The text was updated successfully, but these errors were encountered: