Importing bs4 in Python 3.5

前端 未结 3 1509
南旧
南旧 2020-12-18 21:10

I have installed both Python 3.5 and Beautifulsoup4. When I try to import bs4, I get the error below. Is there any fix for that? Or should I just install Python 3.4 instead?

3条回答
  •  温柔的废话
    2020-12-18 21:35

    Update: BeautifulSoup 4.4.0 has been updated to be python3.5 compatible, so a pip install --upgrade beautifulsoup4 should do the trick if you are still hitting this issue.

提交回复
热议问题