Home > OS >  Strives for the great god, Python installation BeautifulSoup after input from bs4 import BeautifulSo
Strives for the great god, Python installation BeautifulSoup after input from bs4 import BeautifulSo

Time:10-12

Python installation after input from BeautifulSoup bs4 import BeautifulSoup

Traceback (the most recent call last) :
The File "& lt; Stdin>" , the line 1, the in & lt; module>
The File "/home/XHD/Templates/beautifulsoup4-4.2.0 bs4/set py", line 365
Print soup. Prettify ()
^
SyntaxError: invalid syntax

Python3.4 version

CodePudding user response:

The solution?
I also met this problem

CodePudding user response:

Although I don't know what happened, but I put the from bs4,,,, put the first line,

CodePudding user response:

I was in CMD directly PIP install beautifusoup4 installed
Then on the python own idle import from bs4 import BeautifulSoup then appear

====RESTART: Shell====

This is how to return a responsibility?
  • Related