- Environment :: Console
- Topic :: System
- Topic :: System :: Networking
When you know about this project and you want to new install thrift to support your project or you get trouble as ModuleNotFoundError: No module named "thrift" or ImportError: cannot import name "thrift" in your project, let follow this tutorial to install thrift
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_thrift_env
- Active the virtual environment
test_thrift_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_thrift_env
- Active the virtual environment
source test_thrift_env/bin/active
To install thrift on Windows(CMD):
py -m pip install thrift
To install thrift on Unix/macOs:
pip install thrift
Example:
pip install thrift==0.8.0
Please see the version list below table:
Version | Released date | Command |
---|---|---|
thrift 0.16.0 | 2022-03-31T14:54:06 | Windows: Unix/macOs:
|
thrift 0.15.0 | 2021-09-25T20:23:08 | Windows: Unix/macOs:
|
thrift 0.14.2 | 2021-09-25T20:20:13 | Windows: Unix/macOs:
|
thrift 0.14.1 | 2021-09-25T20:18:11 | Windows: Unix/macOs:
|
thrift 0.14.0 | 2021-09-25T20:11:57 | Windows: Unix/macOs:
|
thrift 0.13.0 | 2019-11-18T04:50:57 | Windows: Unix/macOs:
|
thrift 0.11.0 | 2018-01-11T17:25:25 | Windows: Unix/macOs:
|
thrift 0.10.0 | 2017-01-14T20:51:06 | Windows: Unix/macOs:
|
thrift 0.9.3 | 2015-10-12T01:34:41 | Windows: Unix/macOs:
|
thrift 0.9.2 | 2014-11-18T03:29:53 | Windows: Unix/macOs:
|
thrift 0.9.1 | 2013-08-22T02:07:42 | Windows: Unix/macOs:
|
thrift 0.9.0 | 2012-10-16T02:59:34 | Windows: Unix/macOs:
|
thrift 0.8.0 | 2011-11-30T01:16:16 | Windows: Unix/macOs:
|
Download the distribution file from thrift-0.16.0.tar.gz or the specific thrift version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_thrift_downloaded_file>
On Unix/macOs:
pip install <path_to_thrift_downloaded_file>
List distribution:
Project link:
- Homepage