python安装第三方包

python安装第三方包

  1. conda虚拟环境一直卡在Solving environment,替换清华源失败
打开anaconda prompt  ,在命令行中直接使用以下命令:

conda config --remove-key channels
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes

这些命令会将conda源更换为清华源
  1. 清华镜像下使用pip命令安装Python连接MySql数据库的第三方包
pip install PyMySQL -i https://pypi.tuna.tsinghua.edu.cn/simple/
  1. 爬虫第三方包
1.requests 用来获取页面内容
2.BeautifulSoup 用来提取页面中的元素
  1. 数据分析第三方包
1.numpy # 数据分析库
2.pandas # 数据分析库
3.matplotlib # 绘图库

相关推荐

  1. python安装

    2024-04-25 05:54:07       14 阅读
  2. python--的使用

    2024-04-25 05:54:07       34 阅读
  3. Python安装库出错

    2024-04-25 05:54:07       38 阅读
  4. python

    2024-04-25 05:54:07       15 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-04-25 05:54:07       18 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-04-25 05:54:07       19 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-04-25 05:54:07       18 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-04-25 05:54:07       20 阅读

热门阅读

  1. 搭建最新tensorflow 与pytorch环境

    2024-04-25 05:54:07       12 阅读
  2. 本地wsl的Ubuntu安装docker,不使用docker桌面版

    2024-04-25 05:54:07       16 阅读
  3. spring的扩展接口

    2024-04-25 05:54:07       14 阅读
  4. python实现爬虫例子2

    2024-04-25 05:54:07       12 阅读
  5. 十八、QGIS的作用和下载

    2024-04-25 05:54:07       13 阅读
  6. pandas保存dict字段再读取成DataFrame

    2024-04-25 05:54:07       14 阅读
  7. springboot针对thymeleaf的使用总结

    2024-04-25 05:54:07       13 阅读