- Intended Audience :: End Users/Desktop
- Programming Language :: C
- Programming Language :: Cython
- Topic :: Office/Business
- Topic :: Office/Business :: Financial
When you know about this project and you want to new install statsmodels to support your project or you get trouble as ModuleNotFoundError: No module named "statsmodels" or ImportError: cannot import name "statsmodels" in your project, let follow this tutorial to install statsmodels
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 Windows (CMD):
- Install virtualenv - if you installed it, please ignore
py -m pip install --user virtualenv
- Create a virtual environment
py -m venv test_statsmodels_env
- Active the virtual environment
test_statsmodels_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_statsmodels_env
- Active the virtual environment
source test_statsmodels_env/bin/active
To install statsmodels on Windows(CMD):
py -m pip install statsmodels
To install statsmodels on Unix/macOs:
pip install statsmodels
Example:
pip install statsmodels==0.4.0rc2 pre-release
Please see the version list below table:
Version | Released date | Command |
---|---|---|
statsmodels 0.13.2 | 2022-02-08T18:11:09 | Windows: Unix/macOs:
|
statsmodels 0.13.1 | 2021-11-12T23:27:25 | Windows: Unix/macOs:
|
statsmodels 0.13.0 | 2021-10-01T23:25:24 | Windows: Unix/macOs:
|
statsmodels 0.12.2 | 2021-02-02T11:08:49 | Windows: Unix/macOs:
|
statsmodels 0.12.1 | 2020-10-29T16:36:43 | Windows: Unix/macOs:
|
statsmodels 0.12.0 | 2020-08-27T16:58:42 | Windows: Unix/macOs:
|
statsmodels 0.11.1 | 2020-02-21T13:14:43 | Windows: Unix/macOs:
|
statsmodels 0.11.0 | 2020-01-22T12:38:55 | Windows: Unix/macOs:
|
statsmodels 0.10.2 | 2019-11-23T08:25:35 | Windows: Unix/macOs:
|
statsmodels 0.10.1 | 2019-07-19T11:35:35 | Windows: Unix/macOs:
|
statsmodels 0.10.0 | 2019-06-24T15:46:34 | Windows: Unix/macOs:
|
statsmodels 0.9.0 | 2018-05-15T02:05:33 | Windows: Unix/macOs:
|
statsmodels 0.8.0 | 2017-02-08T16:58:34 | Windows: Unix/macOs:
|
statsmodels 0.6.1 | 2014-12-02T17:19:52 | Windows: Unix/macOs:
|
statsmodels 0.6.0 | 2014-11-05T16:35:39 | Windows: Unix/macOs:
|
statsmodels 0.5.0 | 2013-08-14T23:46:05 | Windows: Unix/macOs:
|
statsmodels 0.4.3 | 2012-07-02T12:53:49 | Windows: Unix/macOs:
|
statsmodels 0.4.1 | 2012-06-19T04:34:01 | Windows: Unix/macOs:
|
statsmodels 0.4.0 | 2012-04-26T23:53:32 | Windows: Unix/macOs:
|
Download the distribution file from statsmodels-0.13.2.tar.gz or the specific statsmodels version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_statsmodels_downloaded_file>
On Unix/macOs:
pip install <path_to_statsmodels_downloaded_file>
List distribution:
Project link: