python - Pyodbc on El Capitan -
i'm having trouble installing pyodbc on el capitan. have virtualenv created during yosemite days has pyodbc.
i installing pyodbc through following command:
pip install --global-option=build_ext --global-option="-i/usr/local/include" --allow-external pyodbc --allow-unverified pyodbc pyodbc
it errs out saying cannot find odbc dynamic library.
ld: library not found -lodbc
the version of python i'm using python 2.7.10(but has similar problems installing in python 2.6.9 too)
add /usr/local/lib compiler dynamic library path
pip install --global-option=build_ext --global-option="-i/usr/local/include" --global-option="-l/usr/local/lib" --allow-external pyodbc --allow-unverified pyodbc pyodbc
Comments
Post a Comment