- License :: OSI Approved :: Python Software Foundation License
- Topic :: Text Processing
- Topic :: Text Processing :: Markup
- Topic :: Text Processing :: Markup :: HTML
- Topic :: Text Processing :: Markup :: SGML
- Topic :: Text Processing :: Markup :: XML
When you know about this project and you want to new install BeautifulSoup to support your project or you get trouble as ModuleNotFoundError: No module named "BeautifulSoup" or ImportError: cannot import name "BeautifulSoup" in your project, let follow this tutorial to install BeautifulSoup
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_BeautifulSoup_env
- Active the virtual environment
test_BeautifulSoup_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_BeautifulSoup_env
- Active the virtual environment
source test_BeautifulSoup_env/bin/active
To install BeautifulSoup on Windows(CMD):
py -m pip install BeautifulSoup
To install BeautifulSoup on Unix/macOs:
pip install BeautifulSoup
Example:
pip install BeautifulSoup==2.0.2
Please see the version list below table:
Version | Released date | Command |
---|---|---|
BeautifulSoup 3.2.2 | 2019-10-05T11:28:41 | Windows: Unix/macOs:
|
BeautifulSoup 3.2.1 | 2012-02-16T13:36:59 | Windows: Unix/macOs:
|
BeautifulSoup 3.2.0 | 2010-11-21T14:07:30 | Windows: Unix/macOs:
|
BeautifulSoup 3.0.8.1 | 2010-04-09T19:43:50 | Windows: Unix/macOs:
|
BeautifulSoup 3.0.8 | 2010-01-08T14:20:54 | Windows: Unix/macOs:
|
BeautifulSoup 3.0.5 | 2007-12-14T22:13:52 | Windows: Unix/macOs:
|
BeautifulSoup 3.0.4 | 2007-04-10T20:49:39 | Windows: Unix/macOs:
|
BeautifulSoup 3.0.3 | 2006-06-07T04:28:50 | Windows: Unix/macOs:
|
BeautifulSoup 3.0.0 | 2006-05-29T01:04:47 | Windows: Unix/macOs:
|
BeautifulSoup 2.1.1 | 2005-09-19T07:34:38 | Windows: Unix/macOs:
|
BeautifulSoup 2.1.0 | 2005-05-05T04:02:27 | Windows: Unix/macOs:
|
BeautifulSoup 2.0.2 | 2005-04-17T06:15:26 | Windows: Unix/macOs:
|
Download the distribution file from BeautifulSoup-3.2.2.tar.gz or the specific BeautifulSoup version in the below list of distribution
After that, install by command:
On Windows(CMD):
py -m pip install <path_to_BeautifulSoup_downloaded_file>
On Unix/macOs:
pip install <path_to_BeautifulSoup_downloaded_file>
List distribution:
- BeautifulSoup-3.2.0.tar.gz
- BeautifulSoup-3.2.1.tar.gz
- BeautifulSoup-3.2.2-py2-none-any.whl
- BeautifulSoup-3.2.2.tar.gz
Project link: