1

Ive been googling for hours to no luck.

Whenever I try to pip install beautiful soup in terminal, i get the following error:

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/h4/0vpghp6j7xbgzctcbm50btf00000gn/T/pip-install-jd0tuia4/beautifulsoup/

I tried everything suggested here to no luck. "python setup.py egg_info" failed with error code 1

Can anybody help me figure out whats going on here?

Thanks!

Alex
  • 193
  • 1
  • 2
  • 10
  • 1
    Please include the full error message in your question. If you are starting a new project, it might be better to install `beautifulsoup4`, which supports Python 3, instead of the legacy `beautifulsoup`. – Alasdair Aug 10 '18 at 12:11
  • try `pip install bs4` – tushortz Aug 10 '18 at 12:28

1 Answers1

4

for python 2 use

pip install beautifulsoup

and for python3

pip install beautifulsoup4

It is recommended to use beautifulsoup4 for new projects as beautifulsoup3 is no longer being developed.

ibarrond
  • 6,617
  • 4
  • 26
  • 45
Vikramd
  • 204
  • 1
  • 4