Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

MS Sql server not connect #276

Closed
abuvanth opened this issue Oct 11, 2017 · 3 comments
Closed

MS Sql server not connect #276

abuvanth opened this issue Oct 11, 2017 · 3 comments

Comments

@abuvanth
Copy link

File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mssql/pymssql.py", line 72, in _get_server_version_info
r"Microsoft SQL Server.*? - (\d+).(\d+).(\d+).(\d+)", vers)
File "/usr/lib/python2.7/re.py", line 137, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer

@abuvanth
Copy link
Author

abuvanth commented Oct 11, 2017

getting this error while creating db engine using pysqlalchemy in python 2.7

but in python3 works well... but open mining runs only in python 2.7 so ms sql server not connect with open mining

@avelino
Copy link
Collaborator

avelino commented Oct 12, 2017

@abuvanth can you contribute to the project by sending this correction?

@abuvanth
Copy link
Author

easy_install --upgrade pymssql

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

No branches or pull requests

2 participants