Search code examples
pythonxlrd

Unable to install xlrd 1.0.0 wheel


I am trying to install the wheel xlrd-1.0.0-py3-none-any.whl on a Windows 7 (64-bit) computer with Python v2.7.12 installed.

I get the following error message:

xlrd-1.0.0-py3-none-any.whl is not a supported wheel for this platform.

I downloaded the wheel from https://pypi.python.org/pypi/xlrd which says that the wheel works for python 2.7+
The command I entered in CMD.EXE is:

python -m pip install  xlrd-1.0.0-py3-none-any.whl

What am I missing??


Solution

  • Look the error message:

    xlrd-1.0.0-py3-none-any.whl is not a supported wheel for this platform.

    I might be wrong, but py3 is Python 3. So not Python 2.7. With Python 2.7+, they maybe mean 2.7.xx+, so that's still Python 3.

    Try installing it from here: https://pypi.python.org/pypi/xlutils#downloads The py2.py3 version supports Python 2 and Python 3.

    Or, maybe even pip will work fine:

    pip install xlutils
    pip install xlrd