2
Cant get beautifulsoup to run
KyleStrachan (1)

I get the following error when trying to use beautifulsoup, and yes I've tried isntalling it by using the packages tab.

`Collecting BeautifulSoup
Using cached https://files.pythonhosted.org/packages/1e/ee/295988deca1a5a7accd783d0dfe14524867e31abb05b6c0eeceee49c759d/BeautifulSoup-3.2.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-sz3o7t98/BeautifulSoup/setup.py", line 22
print "Unit tests have failed!"
^
SyntaxError: Missing parentheses in call to 'print'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sz3o7t98/BeautifulSoup/
You are using pip version 9.0.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Repl.it: package installation failure

Traceback (most recent call last):
File "main.py", line 2, in <module>
from BeautifulSoup import BeautifulSoup
ModuleNotFoundError: No module named 'BeautifulSoup' `

You are viewing a single comment. View All
1
HappyFakeboulde (201)

I don't know much about BeautifulSoup, so I can't help you with that.
However, if you're trying to get the console logging you post here to look like a codeblock, you surround it with ``` on each side, not just `.