当我尝试在Google Colab中安装Pyodbc库时出现错误

问题描述

当我尝试在google colab中安装pyodbc库时,出现以下错误

ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys,setuptools,tokenize; sys.argv[0] = '"'"'/tmp/pip-install-v_fceyma/pyodbc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-v_fceyma/pyodbc/setup.py'"'"';f=getattr(tokenize,'"'"'open'"'"',open)(__file__);code=f.read().replace('"'"'\r\n'"'"','"'"'\n'"'"');f.close();exec(compile(code,__file__,'"'"'exec'"'"'))' install --record /tmp/pip-record-t34764b1/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

我使用!apt install unixodbc-dev来安装pyodbc,但是当我执行插入查询时。它引发了另一个下面的错误

Error: ('01000',"[01000] [unixODBC][Driver Manager]Can't open lib 'sql Server' : file not found (0) (sqlDriverConnect)")

任何人都可以让我知道,从头到尾还有什么需要做的。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)