Python3实践日记:安装BeautifulSoup(美丽的汤)
遇到问题
- 使用“pip install BeautifulSoup”安装美丽的汤BeatifulSoup时,发现报错了: “You’re trying to run a very old release of Beautiful Soup under Python 3. This will not work.”<>“Please use Beautiful Soup 4, available through the pip package ‘beautifulsoup4’.”
- 截图:
问题原因
- python3中安装BeatifulSoup需要最新版-4
解决问题
- 安装语句应该为:pip install BeatifulSoup4
- 截图:
大功告成,拍桌!