热线电话:13121318867

登录
2018-11-27 阅读量: 969
安装beautifulsoup要注意什么?

安装Python

  1. 下载并安装Miniconda:

    curl -OL https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh
  2. 在安装过程中,系统会多次提示您。查看条款和条件,并为每个提示选择“是”。
  3. 重新启动shell会话以使PATH的更改生效。
  4. 检查你的Python版本:

    python --version

安装beautifulsoup和修改环境变量

  1. 更新您的系统:

    sudo apt update && sudo apt upgrade
  2. 使用pip安装最新版本的Beautiful Soup:

    pip install beautifulsoup4
  3. 安装依赖项:

    pip install tinydb urllib3 xlsxwriter lxml
0.0000
0
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子