Trying to import pypyodbc module gives error 'ODBC Library is not found. Is LD_LIBRARY_PATH set?'

后端 未结 1 1639
被撕碎了的回忆
被撕碎了的回忆 2021-01-12 17:26

I am running Python 3.5 on my Linux Mint 18. I want to load the pypyodbc module. However, no matter what I try, I always get the error:

OdbcNoLi         


        
相关标签:
1条回答
  • 2021-01-12 17:37

    Installing the python-pyodb package solved it:

    sudo apt-get install python-pyodbc
    

    Now the import succeeds:

    In [2]: import pypyodbc
    
    In [3]:    
    
    0 讨论(0)
提交回复
热议问题