![]() Sudo odbcinst -i -s -f /home/user/odbcadd. # register the SQL Server database DSN information in /etc/odbc.ini # Prepare a temp file for defining the DSN to your database server Sudo ln -s libodbcinst.so.2 libodbcinst.so.1 # the Microsoft driver expects unixODBC to be here /usr/lib64/libodbc.so.1, so add soft links to the '.so.2' files ![]() At the time of writing, the standard Debian repositories include OpenCV version 3.2, which is outdated. Instead of using APT, it makes use of a package manager called DNF. Install OpenCV from the Debian Repository The OpenCV Python module is available from the standard Debian repository. ![]() # optional: for unixODBC development headers Installing Python on Fedora Fedora makes use of a different package manager to Debian. Sudo ACCEPT_EULA=Y yum install mssql-toolsĮcho 'export PATH="$PATH:/opt/mssql-tools/bin"' > ~/.bash_profileĮcho 'export PATH="$PATH:/opt/mssql-tools/bin"' > ~/.bashrc # Install the msodbcsql unixODBC-utf16 unixODBC-utf16-devel driver Sudo yum remove unixODBC-utf16 unixODBC-utf16-devel #to avoid conflicts # Uninstall if already installed Unix ODBC driver Centos7 uses RHEL-6 Libraries.Ĭurl > /etc//mssql-release.repo As of February, 2018, for CentOs7 (they have all flavors at the link) they say: # Add the RHEL 6 library for Centos-7 of MSSQL driver. I also found a very good example for installing FreeTDS and setting up the config files.įollowing the instructions on the GitHub docs seems to me to always be the best option. ![]() I know this is an old question, but the maintainer has a pyodbc GitHub Repo. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |