Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy
 

How to install xlrd2 via python pip




xlrd2 - Library for developers to extract data from Microsoft Excel legacy spreadsheet files (xls), it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- License :: OSI Approved :: Apache Software License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.6
- Programming Language :: Python :: 3.7
- Topic :: Database
- Topic :: Office/Business
- Topic :: Software Development
- Topic :: Software Development :: Libraries
- Topic :: Software Development :: Libraries :: Python Modules

When you know about this project and you want to new install xlrd2 to support your project or you get trouble as ModuleNotFoundError: No module named "xlrd2" or ImportError: cannot import name "xlrd2" in your project, let follow this tutorial to install xlrd2



Installation:

Step 1: First, ensure you installed pip in your os, to check pip has been installed on your computer

In Windows (CMD):

py -m pip --version

In Unix/macOS:

python3 -m pip --version

Ensure pip, setuptools, and wheel are up to date:

In Windows (CMD):

py -m pip install --upgrade pip setuptools wheel

In Unix/macOS:

python3 -m pip install --upgrade pip setuptools wheel


Optional - If you want to install in virtual environment:

In Windows (CMD):

- Install virtualenv - if you installed it, please ignore

py -m pip install --user virtualenv

- Create a virtual environment

py -m venv test_xlrd2_env

- Active the virtual environment

test_xlrd2_env\Scripts\active

In Unix/macOS:

- Install virtualenv - if you installed it, please ignore

pip3 install virtualenv

- Create a virtual environment

python3 -m venv test_xlrd2_env

- Active the virtual environment

source test_xlrd2_env/bin/active


Step 2: OK, now, let flow below content to start the installation xlrd2

To install xlrd2 on Windows(CMD):

py -m pip install xlrd2

To install xlrd2 on Unix/macOs:

pip install xlrd2


Step 3: If you want to install a specific xlrd2 version, add ==<xlrd2 version> to the end command line

Example:

pip install xlrd2==1.2.1


Please see the version list below table:

VersionReleased dateCommand
xlrd2 1.3.42021-12-08T01:16:50Windows:

py -m pip install xlrd2==1.3.4

Unix/macOs:

pip install xlrd2==1.3.4

xlrd2 1.3.32021-11-23T19:55:54Windows:

py -m pip install xlrd2==1.3.3

Unix/macOs:

pip install xlrd2==1.3.3

xlrd2 1.2.62020-06-04T03:34:19Windows:

py -m pip install xlrd2==1.2.6

Unix/macOs:

pip install xlrd2==1.2.6

xlrd2 1.2.52020-05-24T20:38:28Windows:

py -m pip install xlrd2==1.2.5

Unix/macOs:

pip install xlrd2==1.2.5

xlrd2 1.2.42020-05-22T22:18:35Windows:

py -m pip install xlrd2==1.2.4

Unix/macOs:

pip install xlrd2==1.2.4

xlrd2 1.2.32020-05-13T00:50:19Windows:

py -m pip install xlrd2==1.2.3

Unix/macOs:

pip install xlrd2==1.2.3

xlrd2 1.2.22020-05-09T22:28:36Windows:

py -m pip install xlrd2==1.2.2

Unix/macOs:

pip install xlrd2==1.2.2

xlrd2 1.2.12020-05-09T19:07:27Windows:

py -m pip install xlrd2==1.2.1

Unix/macOs:

pip install xlrd2==1.2.1


Step 4: Otherwise, you can install xlrd2 from local archives:

Download the distribution file from xlrd2-1.3.4.tar.gz or the specific xlrd2 version in the below list of distribution

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_xlrd2_downloaded_file>

On Unix/macOs:

pip install <path_to_xlrd2_downloaded_file>


List distribution:


Project link: