Python - Working with HTML: Web Scraping - gazpacho, module, pip, installing
Head First Python: A Learner’s Guide to the Fundamentals of Python Programming, A Brain-Friendly Guide、 Paul Barry(著)、 O’Reilly Mediaの Chapter 9.(Working with HTML: Web Scraping)、EXERCISE(428/682)の解答を求めてみる。
Jupyter(コード、入出力結果)
webapp/WorldRecords.ipynb
%pip install gazpacho --upgrade
Defaulting to user installation because normal site-packages is not writeable
Collecting gazpacho
Downloading gazpacho-1.1.tar.gz (7.9 kB)
Installing build dependencies ... [?25ldone
[?25h Getting requirements to build wheel ... [?25ldone
[?25h Preparing metadata (pyproject.toml) ... [?25ldone
[?25hBuilding wheels for collected packages: gazpacho
Building wheel for gazpacho (pyproject.toml) ... [?25ldone
[?25h Created wheel for gazpacho: filename=gazpacho-1.1-py3-none-any.whl size=7523 sha256=f355a4e558388ca69b41e2a0974b9d7681cdf966cf05246481f248d7a1de2886
Stored in directory: /Users/.../Library/Caches/pip/wheels/ce/cb/01/77e16d40f8d85a8523c3f6d57fb24c6ec1ab26685c1fa80486
Successfully built gazpacho
Installing collected packages: gazpacho
Successfully installed gazpacho-1.1
Note: you may need to restart the kernel to use updated packages.