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