Unable to install pyodbc on Linux

前端 未结 18 2048
野趣味
野趣味 2020-11-28 05:23

I am running Linux (2.6.18-164.15.1.el5.centos.plus) and trying to install pyodbc. I am doing pip install pyodbc and get a very long list of errors, which end in

18条回答
  •  醉梦人生
    2020-11-28 05:44

    A easy way to install pyodbc is by using 'conda'. As conda automatically installs required dependencies including unixodbc.

    conda --ugrade all (optional)

    then conda install pyodbc

    it will install following packages:

    libgfortran-ng: 7.2.0-hdf63c60_3 defaults mkl: 2018.0.3-1 defaults mkl_fft: 1.0.2-py36_0 conda-forge mkl_random: 1.0.1-py36_0 conda-forge numpy-base: 1.14.5-py36hdbf6ddf_0 defaults pyodbc: 4.0.17-py36_0 conda-forge unixodbc: 2.3.4-1 conda-forge

提交回复
热议问题