Skip to content

Possible bug in Downloading Web Pages with Python #1810

@svmelton

Description

@svmelton

A reader emailed that she's getting No module named request when trying to use urllib.request She also indicates that she's installed request per https://programminghistorian.org/en/lessons/installing-python-modules-pip#mac-and-linux-instructions and that Atom has been able to run the code so far. (She's using python 3.8 on a Mac.)

Additionally, when I tried to run the code in the lesson, I received an error that the SSL cert couldn't be verified:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:777

(Tagging @acrymble as well, since he just submitted a PR for something else in this lesson.)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions