cannot import xlrd (path problem?)

43 views
Skip to first unread message

David Epstein

unread,
Oct 24, 2009, 8:03:54 PM10/24/09
to guess-discuss
Hi folks,

I am having what I'm guessing is a path problem. If I type python at
the command line and then "import xlrd" I can import this library to
work with Excel spreadsheet files. If I do the same from the GUESS
console, it cannot find the library. Do I need to set an environment
variable?

-david

Eytan Adar

unread,
Oct 24, 2009, 11:54:21 PM10/24/09
to guess-...@googlegroups.com
GUESS uses a somewhat old version of python (actually jython) which
does not necessarily have all the newest Python libraries. Some, you
may be able to port in...

-E

David Epstein

unread,
Oct 25, 2009, 9:14:46 AM10/25/09
to guess-discuss
Thanks for your reply Eytan. I expected that GUESS would have access
to any new library I added to python on my system. From what I gather,
GUESS has its own separate libraries that it uses? Is there a place
that I should put the Excel xlrd library? Or do I actually need to
port it over?

-david
Reply all
Reply to author
Forward
0 new messages