安装Python运行环境

本文详细介绍了Python的安装步骤,包括下载Python安装包,设置系统变量,以及如何使用pip安装、升级和卸载库。此外,还讲解了处理安装错误的方法,如使用指定版本安装,离线安装以及换源安装。最后提到了Python的交互环境和PyCharm编辑器的配置。
摘要由CSDN通过智能技术生成

1Python Releases for Windows | Python.org打开下载对应系统的32位64操作系统的安装包 Windows 安装程序 (64 位)

2解压安装过程选择系统变量如何python可执行程序没有添加到系统变量手动添加-我的电脑鼠标右键点击属性-高级系统设置-环境变量-系统环境变量-path编辑-添加新建python安装路径,以及scrupts路径

添加以后注意保存,点击重启dos命令行

3输入cond命令行python进入交互环境 exit()退出交换环境

4系统环境输入pip安装 常用命令 opt i ons第三方库的名字

download Download packages.

uninstall Uninstall packages.

freeze Output installed packages in requirements format.

inspect Inspect the python environment.

list List installed packages.

show Show information about installed packages.

check Verify installed packages have compatible dependencies.

config Manage local and global configuration.

search Search PyPI for packages.

cache Inspect and manage pip's wheel cache.

index Inspect information available from package indexes.

wheel Build wheels from your requirements.

hash Compute hashes of package archives.

completion A helper command used for command completion.

debug Show information useful for debugging.

help Show help for commands.

General Options:

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值