-4

I am trying to install the latest Beautiful Soup on Mac 10.11.3. Whenever I run pip install beautifulsoup4 the terminal defaults to installing bs4 for python 2.7 not 3.5. How do I install Beautiful Soup for Python 3.5 not 2.7?

  • @wilbur Don't make trivial edits to closed posts. It will push them to reopen queue and add a burden to the reviewers. If the post is closed, allow the OP to edit. Regards – Bhargav Rao Mar 02 '16 at 21:07
  • @BhargavRao ah of course, my mistake! I just looked at the answers and saw that people were having a hard time seeing the `pip install` line. I'll keep that in mind in the future, sorry to have inconvenienced y'all – wpercy Mar 02 '16 at 21:08
  • @wilbur Not a problem when you do it for the first time. Good that you learned it early. – Bhargav Rao Mar 02 '16 at 21:10

1 Answers1

0

Assuming you have a python3 binary on your system

python3 -m pip install beautifulsoup4
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245