Import Pyodbc Not Working In Eclipse
I am new to python.. I am not able to import pyodbc I am getting an error in eclipse (just for this import) i install pyodbc C:\Users\app_rahavm>pip install pyodbc Requiremen
Solution 1:
just to update (if some else might need it... ) after spending alot of time on this ... the error is just a displayed error !! the code is running even with this error , this is very wierd but this is the case... also it is possible to press cntl + 1 and in the pop up screen choose "UnresolvedImport"
or just add at the end of the import - this will remove the red error and will do the import...
import pyodbc # @UnresolvedImport
Solution 2:
Delete my old interpreter in Preferences > PyDev > Interpreters
, and creating a new interpreter called "python" which had the correct paths. After quitting and reopening eclipse, pydev found all my modules.
See
Solution 3:
Try pip freeze
command to check whether the module is really present in the list of installed modules or not.
Post a Comment for "Import Pyodbc Not Working In Eclipse"