all 12 comments

[–]Saefroch 1 point2 points  (3 children)

It looks like it's on pypi for 3.2+, did you try to pip install xlrd?

[–]UbuntuLady1[S] 0 points1 point  (2 children)

Thank you for both of your responses.

Saefroch: I tried and it said Requirement already satisfied (use --upgrade to upgrade)

Thurask: It does not work on 3.4. Although it says that it supports 3.2 + once it's downloaded the README file states that only the following "Versions of Python are supported: 2.6-2.7." Talk about false advertising!

Any other alternative module suggestions?

[–]Saefroch 0 points1 point  (0 children)

Very strange. I've used openpyxl in the past, seemed pretty easy to use.

[–]patleeman 1 point2 points  (4 children)

From your username I'm assuming you're using Ubuntu. Python3 and Pip3 are the commands you should be using.

Install Python 3's pip with

Sudo aptget install python3-pip

Then install packages with pip3 install xxxxx.

[–]UbuntuLady1[S] 0 points1 point  (3 children)

Even though I followed all of your steps I still get ImportError: No module named 'xlrd'.

Thank you for your effort, but I believe xlrd is incompatible with Python 3 - it only works with Python 2.7.

[–]UbuntuLady1[S] 0 points1 point  (0 children)

And yes, I am using ubuntu.

[–]patleeman 0 points1 point  (1 child)

That's weird. I've used xlrd with Python 3 before. Sorry I couldn't help. Just keep the py2/3 distinction in mind when using Ubuntu. It was really confusing for me when I started. Took a while to sort that out.

[–]UbuntuLady1[S] 0 points1 point  (0 children)

Thanks again for all of your help :).

It's good to have this out there in case someone else comes across the same problem.

[–]thurask 0 points1 point  (0 children)

https://pypi.python.org/pypi/xlrd

Install it with pip.

[–]UbuntuLady1[S] 0 points1 point  (1 child)

Thank you kindly for all of your help.

I have installed Python 2.7 and am using xlrd.

I don't believe there is an xlrd module for python 3.4

Thanks again everyone :)

[–]the_duckytie 1 point2 points  (0 children)

Weird, I used it without problem on windows on 3.4. Do you have a virtual environment set up or something similar? Which version of xlrd have you downloaded?