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

How to install xirr via python pip




xirr - xirr and xnpv calculators, it belongs to Classifiers:

- Topic :: Office/Business
- Topic :: Office/Business :: Financial
- Topic :: Office/Business :: Financial :: Accounting
- Topic :: Office/Business :: Financial :: Investment

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



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_xirr_env

- Active the virtual environment

test_xirr_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_xirr_env

- Active the virtual environment

source test_xirr_env/bin/active


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

To install xirr on Windows(CMD):

py -m pip install xirr

To install xirr on Unix/macOs:

pip install xirr


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

Example:

pip install xirr==0.1.1


Please see the version list below table:

VersionReleased dateCommand
xirr 0.1.82022-03-09T10:02:44Windows:

py -m pip install xirr==0.1.8

Unix/macOs:

pip install xirr==0.1.8

xirr 0.1.62021-01-10T20:48:04Windows:

py -m pip install xirr==0.1.6

Unix/macOs:

pip install xirr==0.1.6

xirr 0.1.52020-09-16T15:43:50Windows:

py -m pip install xirr==0.1.5

Unix/macOs:

pip install xirr==0.1.5

xirr 0.1.42020-07-29T10:02:11Windows:

py -m pip install xirr==0.1.4

Unix/macOs:

pip install xirr==0.1.4

xirr 0.1.32020-04-23T21:59:05Windows:

py -m pip install xirr==0.1.3

Unix/macOs:

pip install xirr==0.1.3

xirr 0.1.22020-03-16T21:59:34Windows:

py -m pip install xirr==0.1.2

Unix/macOs:

pip install xirr==0.1.2

xirr 0.1.12020-03-13T20:51:13Windows:

py -m pip install xirr==0.1.1

Unix/macOs:

pip install xirr==0.1.1


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

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

After that, install by command:

On Windows(CMD):

py -m pip install <path_to_xirr_downloaded_file>

On Unix/macOs:

pip install <path_to_xirr_downloaded_file>


List distribution:


Project link:

- Homepage
- Bug Tracker
- Documentation
- Source Code