Open rm1984 opened 3 years ago
Python 3.8 should work. Could you provide some more details so that we can try and reproduce this issue such as:
pip freeze
command.Looks like it might be a conflict with the package "mssqlcli".
I was having the same issue with python3.6 and mssql-cli-1.0.0
$ mssql-cli
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/astram/.local/lib/python3.6/site-packages/mssqlcli/main.py", line 11, in <module>
from mssqlcli.config import config_location
ImportError: cannot import name 'config_location'
I fixed it with:
$ pip3 uninstall mssql-cli mssqlcli
$ pip3 install mssql-cli
then editing the last line of $(which mssql-cli)
to change python
to python3
mssql-cli is now working.
Hi, this tool doesn't seem to work with recent versions of Python 3.
Thanks!