Image not found error during import
See original GitHub issueThe following error pops up when trying to import the library
>>> import pyodbc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Python/2.7/site-packages/pyodbc.so, 2): Library not loaded: /usr/local/lib/libodbc.2.dylib
Referenced from: /Library/Python/2.7/site-packages/pyodbc.so
Reason: image not found
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:12 (3 by maintainers)
Top Results From Across the Web
NumPy: Import Error, Image Not Found OSX - Stack Overflow
py file and run it through Terminal as, for example, python test.py. It finds the NumPy library and executes fine: #!/usr/bin/env python import...
Read more >Import Error: Image not found - Knowledge Base Home
Cause: Image not found at available URL or within .zip file. Resolution: Locate the excel row with the missing image issue.
Read more >Error importing remote images. Error: Not found - WordPress.org
Hi, I have a problem when importing products with a copy .csv. It fails to import the images of those products “Error: Not...
Read more >Module not found: Can't resolve image in React [Solved]
To solve the error, import the image and make sure the path that points to the image is correct in your import statement....
Read more >oc import-image command fails with "Import failed (NotFound ...
The import of an image using the oc import-image command fails with error Import failed (NotFound) although the image exists and can be...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Dawny33 @Yanchek99 you should install unixodbc on your system.
I did install the unixODBC using Homebrew. And I have the Python installed using the Graphic Installer, instead of Homebrew installation of Python.
I don’t know if it is creating the problem, but installing the unixodbc is still throwing the same error after importing pyodbc
I did also tried using brew install python3, but Homebrew version of python do not install the other libraries like Pandas, Numpy, Pyodbc too. So I installed the Python3 graphically and got all the other libraries installed.
I have MacBook Air M1