利用pip安装python各种库 | 您所在的位置:网站首页 › python列举三个pip命令 › 利用pip安装python各种库 |
文章目录
Python下载pycharm安装pip安装库解决pip安装慢的问题pip常用指令
常用库的安装
Python下载
到Python官网下载Python
到PyCharm网站下载文件 Python使用经常要使用到各种库,我经常使用pip命令进行库的安装 按Windows+R搜索cmd或者直接在右下角搜索栏搜索cmd进入如下界面 如果使用pip安装库比较慢,可以先执行如下指令设置pip的源 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple pip config set install.trusted-host mirrors.aliyun.com安装成功如下图所示 pip除了下载,还有以下各种命令,其中…代表各种库 安装 pip install ... 更新 pip install -U ... 卸载 pip unistall ... 下载不安装 pip download ... 显示库的详细信息 pip show ... 列出已经安装的库 pip list 常用库的安装下面是一些比较常用库的安装方式,链接为该库的详细介绍及使用方式 numpy:https://blog.csdn.net/weixin_46287157/article/details/124631719 N维数据表示和运算 安装方式:pip install numpy re:https://blog.csdn.net/weixin_46287157/article/details/116429118 正则表达式 安装方式:pip install re matplotlib:https://blog.csdn.net/weixin_46287157/article/details/124784731 二维数据可视化 安装方式:pip inatall matplotlib pandas:https://blog.csdn.net/weixin_46287157/article/details/122433310 高效数据分析和计算 安装方式:pip install pandas requests:https://blog.csdn.net/weixin_46287157/article/details/128377896 HTTP协议访问及网络爬虫 安装方式:pip install requests beautiful soup:https://blog.csdn.net/weixin_46287157/article/details/116432393 HTML和XML解析器 安装方式:pip install beautifulsoup4 Xpath:https://blog.csdn.net/weixin_46287157/article/details/116432393 最常用且最便捷高效的一种解析方式 安装方式:pip install lxml selenium:https://blog.csdn.net/weixin_46287157/article/details/129149265 自动化测试工具,可以驱动浏览器执行特定的动作,如单击、下拉等 安装方式:pip install selenium pil 图像处理 安装方式:pip install pillow scikit-learn 机器学习和数据挖掘 安装方式:pip install sklearn jieba 中文分词 安装方式:pip install jieba wheel Python第三方库文件打包工具 安装方式:pip install wheel pyinstaller 打包Python源文件为可执行文件 安装方式:pip install pyinstaller django Python最流行的Web开发框架 安装方式:pip install django flask 轻量级Web开发框架 安装方式:pip install flask werobot 微信机器人开发框架 安装方式:pip install werobot sympy 数字符号计算工具 安装方式:pip install sympy networkx 复杂网络和图结构的建模和分析 安装方式:pip install networkx pyqt5 基于Qt的专业及GUI开发接口 安装方式:pip install pyqt5 pyopengl 多平台OpenGL开发接口 安装方式:pip install pyopengl pypdf2 PDF文件内容提取及处理 安装方式:pip install pypdf2 docopt Python命令行解析 安装方式:pip install docopt pygame 简单小游戏开发框架 安装方式:pip install pygame |
CopyRight 2018-2019 实验室设备网 版权所有 |