- Topic :: Internet :: WWW/HTTP
When you know about this project and you want to new install user-agents to support your project or you get trouble as ModuleNotFoundError: No module named "user-agents" or ImportError: cannot import name "user-agents" in your project, let follow this tutorial to install user-agents
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_user-agents_env
- Active the virtual environment
test_user-agents_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_user-agents_env
- Active the virtual environment
source test_user-agents_env/bin/active
To install user-agents on Windows(CMD):
py -m pip install user-agents
To install user-agents on Unix/macOs:
pip install user-agents
Example:
pip install user-agents==0.1
Please see the version list below table:
Version | Released date | Command |
---|---|---|
user-agents 2.2.0 | 2020-08-23T06:01:54 | Windows: Unix/macOs:
|
user-agents 2.1 | 2020-02-08T01:58:53 | Windows: Unix/macOs:
|
user-agents 2.0 | 2019-04-07T10:51:25 | Windows: Unix/macOs:
|
user-agents 1.1.0 | 2017-02-16T22:47:04 | Windows: Unix/macOs:
|
user-agents 1.0.1 | 2015-09-05T01:36:45 | Windows: Unix/macOs:
|
user-agents 1.0.0 | 2015-09-05T00:03:37 | Windows: Unix/macOs:
|
user-agents 0.3.2 | 2015-01-30T06:58:12 | Windows: Unix/macOs:
|
user-agents 0.3.1 | 2014-11-28T10:09:21 | Windows: Unix/macOs:
|
user-agents 0.3.0 | 2014-08-31T10:20:15 | Windows: Unix/macOs:
|
user-agents 0.2.0 | 2013-10-13T03:43:54 | Windows: Unix/macOs:
|
user-agents 0.1.1 | 2013-01-07T14:31:58 | Windows: Unix/macOs:
|
user-agents 0.1 | 2013-01-05T09:20:51 | Windows: Unix/macOs:
|
Download the distribution file from user-agents-2.2.0.tar.gz or the specific user-agents version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_user-agents_downloaded_file>
On Unix/macOs:
pip install <path_to_user-agents_downloaded_file>
List distribution:
Project link:
- Homepage