- Programming Language :: Python :: 3.8
- Programming Language :: Python :: 3.9
When you know about this project and you want to new install torchtext to support your project or you get trouble as ModuleNotFoundError: No module named "torchtext" or ImportError: cannot import name "torchtext" in your project, let follow this tutorial to install torchtext
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_torchtext_env
- Active the virtual environment
test_torchtext_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_torchtext_env
- Active the virtual environment
source test_torchtext_env/bin/active
To install torchtext on Windows(CMD):
py -m pip install torchtext
To install torchtext on Unix/macOs:
pip install torchtext
Example:
pip install torchtext==0.1.1
Please see the version list below table:
Version | Released date | Command |
---|---|---|
torchtext 0.13.1 | 2022-08-05T17:34:34 | Windows: Unix/macOs:
|
torchtext 0.13.0 | 2022-06-28T16:32:16 | Windows: Unix/macOs:
|
torchtext 0.12.0 | 2022-03-10T16:47:35 | Windows: Unix/macOs:
|
torchtext 0.11.2 | 2022-01-27T20:39:13 | Windows: Unix/macOs:
|
torchtext 0.11.1 | 2021-12-15T22:26:51 | Windows: Unix/macOs:
|
torchtext 0.11.0 | 2021-10-21T15:11:23 | Windows: Unix/macOs:
|
torchtext 0.10.1 | 2021-09-20T22:50:57 | Windows: Unix/macOs:
|
torchtext 0.10.0 | 2021-06-15T15:32:04 | Windows: Unix/macOs:
|
torchtext 0.9.1 | 2021-03-25T16:29:40 | Windows: Unix/macOs:
|
torchtext 0.9.0 | 2021-03-04T20:42:57 | Windows: Unix/macOs:
|
torchtext 0.8.1 | 2020-12-10T16:27:56 | Windows: Unix/macOs:
|
torchtext 0.8.0 | 2020-10-27T16:15:21 | Windows: Unix/macOs:
|
torchtext 0.7.0 | 2020-07-28T15:56:00 | Windows: Unix/macOs:
|
torchtext 0.6.0 | 2020-04-21T16:41:43 | Windows: Unix/macOs:
|
torchtext 0.5.0 | 2020-01-15T15:53:54 | Windows: Unix/macOs:
|
torchtext 0.4.0 | 2019-08-08T03:46:35 | Windows: Unix/macOs:
|
torchtext 0.3.1 | 2018-10-11T14:15:29 | Windows: Unix/macOs:
|
torchtext 0.2.3 | 2018-04-09T17:15:26 | Windows: Unix/macOs:
|
torchtext 0.2.1 | 2017-12-28T23:25:37 | Windows: Unix/macOs:
|
torchtext 0.2.0 | 2017-10-20T04:17:15 | Windows: Unix/macOs:
|
torchtext 0.1.1 | 2017-08-14T20:35:24 | Windows: Unix/macOs:
|
Download the distribution file from torchtext-0.13.1-cp310-cp310-win_amd64.whl or the specific torchtext version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_torchtext_downloaded_file>
On Unix/macOs:
pip install <path_to_torchtext_downloaded_file>
List distribution:
Project link:
- Homepage