求助!Mac下 from bs4 import BeautifulSoup4 报错!

'You are trying to run the Python 2 version of Beautiful Soup under Python 3. This will not work.'<>'You need to convert the code, either by installing it (`python setup.py install`) or by running 2to3 (`2to3 -w bs4`).'

报错如上,直接把小白干懵圈了。

还请大神指导!

查看全部
Mr_AzraelWang
不低俗的王叔叔
2020/11/27 15:14
  • python
  • 点赞
  • 收藏
  • 回答
    私信

2个回复