I currently have a late 2011 MacBook Pro, but I've done a few modifications...she now has 2 TB SSD installed internally, along with 16GB of RAM. The OS has been upgraded to Catalina 10.15.7. Im currently working with Python 3.7 via an anaconda3 setup with Jupyter Notebook. I'm convinced it is not an access/firewall issue b/c I can connect to the Azure SQL database via a VM and SQL Server, as well as through VS Code2 or PyCharm 2024.
I need to modify my current Python script to access the Azure SQL db, which I've done but I'm having a devil of a time connecting successfully!
I've attached screen shots of my terminal to show the odbcinst.ini file can be read/queried and return the correct configuration which I've managed to update based on the countless resources and similar questions asked. The /usr/local/lib/libmsodbcsql.17.dylib file pyodbc is looking for has a symlink and is shown on the last few lines of my terminal screenshot. This is the same path used to update the server name in the odbcinst.ini file. I've even provided screen shots of my .zshrc profile where I've explicitly defined the paths for "PATH" and "LD_LIBRARY_PATH" based on suggestion provided via StackOverflow. Again, unfortunately nothing has worked.
Please help.








ldd /usr/local/lib/libmsodbcsql.17.dylibmention any missing files?brew updateorbrew install.