I am trying to install BeautifulSoup4 using the pip install BeautifulSoup4 command, according to the bs documentation here:
https://www.crummy.com/software/BeautifulSoup/#Download
I am using Mac OS X 10.7.5 and python 2.7.12
When I run the command in the terminal, I get an error message:
AttributeError: '_socketobject' object has no attribute 'set_tlsext_host_name'
Can anyone suggest what I'm doing wrong? Thanks in advance.
EDIT: In light of the comments, I tried running sudo pip install pyopenssl , but I get the same "socketobject" error.
User632716
source share