When I type import pyodbc
in my Spyder screen i get below error. Any suggestions? How to install package pyodbc for Spyder
>>> runfile('C:/Users/myname/Documents/Python Scripts/co2nm.py', wdir=r'C:/Users/myname/Documents/Python Scripts')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\myname\AppData\Local\Continuum\Anaconda\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 540, in runfile
execfile(filename, namespace)
File "C:/Users/myname/Documents/Python Scripts/co2nm.py", line 7, in <module>
import pyodbc
ImportError: No module named pyodbc
I was able to use other packages though such as
import networkx as nx
import os.path as path
import datetime as dt