unable to use pyodbc on mac

103 Views Asked by At

i am trying to use pyodbc to connect to azure sql from python and i am getting this error saying pyodbc module not found although i have it installed as you can see in snippet below:


(apienv) (base) manishshukla@Manishs-MacBook-Pro scriptureApi % pip3 install pyodbc
Collecting pyodbc
  Using cached pyodbc-4.0.32-cp39-cp39-macosx_10_9_x86_64.whl (68 kB)
Installing collected packages: pyodbc
Successfully installed pyodbc-4.0.32
(apienv) (base) manishshukla@Manishs-MacBook-Pro scriptureApi % python3
Python 3.8.5 (default, Sep  4 2020, 02:22:02) 
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyodbc
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pyodbc'
>>> 
0

There are 0 best solutions below