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

How to install xlwt via python pip




xlwt - Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files, on any platform, with Python 2.6, 2.7, 3.3+, it belongs to Classifiers:

- Development Status :: 5 - Production/Stable
- License :: OSI Approved :: BSD License
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3.3
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Topic :: Database
- Topic :: Internet
- Topic :: Internet :: WWW/HTTP
- Topic :: Internet :: WWW/HTTP :: Dynamic Content
- Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
- Topic :: Office/Business
- Topic :: Office/Business :: Financial
- Topic :: Office/Business :: Financial :: Spreadsheet

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



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_xlwt_env

- Active the virtual environment

test_xlwt_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_xlwt_env

- Active the virtual environment

source test_xlwt_env/bin/active


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

To install xlwt on Windows(CMD):

py -m pip install xlwt

To install xlwt on Unix/macOs:

pip install xlwt


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

Example:

pip install xlwt==0.7.0


Please see the version list below table:

VersionReleased dateCommand
xlwt 1.3.02017-08-22T06:47:15Windows:

py -m pip install xlwt==1.3.0

Unix/macOs:

pip install xlwt==1.3.0

xlwt 1.2.02017-01-04T16:17:16Windows:

py -m pip install xlwt==1.2.0

Unix/macOs:

pip install xlwt==1.2.0

xlwt 1.1.22016-06-09T05:16:00Windows:

py -m pip install xlwt==1.1.2

Unix/macOs:

pip install xlwt==1.1.2

xlwt 1.1.12016-06-02T23:21:55Windows:

py -m pip install xlwt==1.1.1

Unix/macOs:

pip install xlwt==1.1.1

xlwt 1.0.02015-04-15T21:27:59Windows:

py -m pip install xlwt==1.0.0

Unix/macOs:

pip install xlwt==1.0.0

xlwt 0.7.52013-04-06T00:05:34Windows:

py -m pip install xlwt==0.7.5

Unix/macOs:

pip install xlwt==0.7.5

xlwt 0.7.42012-04-13T09:55:50Windows:

py -m pip install xlwt==0.7.4

Unix/macOs:

pip install xlwt==0.7.4

xlwt 0.7.32012-02-21T09:16:54Windows:

py -m pip install xlwt==0.7.3

Unix/macOs:

pip install xlwt==0.7.3

xlwt 0.7.22009-06-01T12:45:28Windows:

py -m pip install xlwt==0.7.2

Unix/macOs:

pip install xlwt==0.7.2

xlwt 0.7.12009-03-04T12:06:25Windows:

py -m pip install xlwt==0.7.1

Unix/macOs:

pip install xlwt==0.7.1

xlwt 0.7.02008-09-17T12:18:30Windows:

py -m pip install xlwt==0.7.0

Unix/macOs:

pip install xlwt==0.7.0


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_xlwt_downloaded_file>

On Unix/macOs:

pip install <path_to_xlwt_downloaded_file>


List distribution:


Project link:

- Homepage
- Download