38379/error-installing-beautifulsoup
I am trying to install BeautifulSoup using the following command:
py -m pip install -U pip BeautifulSoup
But I am getting this error:
Collecting pip Downloading https://files.pythonhosted.org/packages/d7/41/34dd96bd33958e52cb4da2f1bf0818e396514fd4f4725a79199564cd0c20/pip-19.0.2-py2.py3-none-any.whl (1.4MB) 100% |████████████████████████████████| 1.4MB 201kB/s 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 "C:\Users\user\AppData\Local\Temp\pip-install-tyxu48kn\BeautifulSoup\setup.py", line 22 print "Unit tests have failed!" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Unit tests have failed!")? ---------------------------------------- Command "python setup.py egg_info" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-install-tyxu48kn\BeautifulSoup\
You can use a simple command to install BeautifulSoup:
pip install beautifulsoup4
You can install it via pip wheel. Download ...READ MORE
Go to tools -> python console -> ...READ MORE
Hi @ Prajwala All the members here, I ...READ MORE
Hi, If you successfully installed opencv in your ...READ MORE
Your code is good until you get ...READ MORE
You missed a few login data forms, ...READ MORE
Try this: html_data = """ <td colspan="3"><b>"Assemble under ...READ MORE
Hi @reddy! According to the Python Documentation, Error code ...READ MORE
The right datatype for destination in argpasrse module ...READ MORE
OR
Already have an account? Sign in.