1. Go to beautiful soup official website to download the latest version is 4.3.0.
2. After the download is complete, you need to unzip it, assuming it is placed in the python installation directory.
3. Run cmd, switch to D:/python/beautifulsoup4-4.1.3/ directory (modify according to the unzipped directory and downloaded version number),
cd C:\Python27\beautifulsoup4-4.3.0>
run setup .py build command (or python setup.py build),
then run the setup.py install command (or python setup.py install).
Then enter python, enter the python module
and enter from bs4 import BeautifulSoup to check whether it is successful.
If no error is reported, the installation is successful
Install beautifulsoup under windows
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326713992&siteId=291194637
Recommended
Ranking