Background note:
Computer win7-32
Install beautifulsoup4 4.6.0 under Python 3.3.5 (download link https://pypi.org/project/beautifulsoup4/#files) error importerror No module named setuptools
Reason: missing setuptools third-party tools
Solution: Install the setuptools tool.
Steps: 1. Download the installation package from the official website (https://pypi.org/project/setuptools/#files) (my downloaded version is setuptools-39.0.1) and put it in the python installation directory (C:\Python33)
2. cmd enters the dos command line, enters the setuptools directory (cd C:\Python33\setuptools-39.0.1), and installs it manually (python setup.py install)
3. Download bs4 (https://pypi.org/project/beautifulsoup4/#files), enter setup.py install without error
4. Enter from bs4 import BeautifulSoup to verify that bs4 is installed successfully.
This situation may not happen to everyone.