首页 新闻 搜索 专区 学院

在pycharm中运行遇到importError报错,请各位指导

0
悬赏园豆:5 [已关闭问题] 关闭于 2018-06-27 12:50

ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyodbc.cpython-36m-darwin.so, 2): Library not loaded: /usr/local/opt/unixodbc/lib/libodbc.2.dylib
Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pyodbc.cpython-36m-darwin.so
Reason: image not found

 

MAC环境

evelyn0902的主页 evelyn0902 | 菜鸟二级 | 园豆:206
提问于:2018-06-27 09:48
< >
分享
所有回答(1)
0

安装#brew install unixodbc 解决

evelyn0902 | 园豆:206 (菜鸟二级) | 2018-06-27 12:50
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册