Eclipse Xlrd, Xlwt Import Error
I downloaded the latest Enthought EPD python distribution (academic), which comes with python 2.7. I am using Eclipse as my IDE. Eclipse is set up to use this instance of Python.
Solution 1:
Yes, indeed, "someone" helped you with the answer.
It's nothing to do with xlrd
, xlwt
, xlutils
, or Eclipse
.
In general, if you put a script that does import foo
into a directory named foo
, Python is likely to try to import foo
from that directory, and fail.
Answer : Don't do that. Rename your script directory to foo_examples
or foo_scripts
or suchlike.
Post a Comment for "Eclipse Xlrd, Xlwt Import Error"