Products | Versions |
---|---|
Spotfire Data Science Team Studio | 6.5.0, 6.6.0 |
Installing pyodbc on Centos / RHEL can be challenging if you forget to have the development library. This article cover pre-requisite libraries and steps to install pyodbc library.
On Centos / RHEL server following libraries needed to be installed before installing the pyodbc library.
Log in to the command line of the Python notebook instance and use the following commands to install them:
$ sudo yum install unixodbc-dev
$ sudo yum install unixODBC unixODBC-devel
$ sudo yum install epel-release
$ sudo yum install gcc-c++
$ sudo yum install python3-devel
Navigate to /opt/conda/envs/python3/bin on the Notebook server and install the pyodbc package using the below command:
---------
./pip install pyodbcÂ
---------
Note: This will install the pyodbc package for all Team Studio notebook users.