首页 技术 正文
技术 2022年11月15日
0 收藏 684 点赞 4,852 浏览 1306 个字

1、下载Python3
官网地址:www.python.org
当前最新版本为Python 3.7.3。

Windows下有个6个下载链接
Windows x86-64 embeddable zip file
Windows x86-64 executable installer
Windows x86-64 web-based installer
Windows x86 embeddable zip fileWindows
Windows x86 executable installer
Windows x86 web-based installer

说明:
(1)x86-64适用于64位操作系统、x86适用于32位操作系统;
(2)embeddable zip、executable installer、web-based installer区别
embeddable zip: 下载的是一个压缩文件,解压后即表示安装完成。
executable installer: 下载的是一个几十MB的exe可执行程序,离线安装。
web-based installer: zip 下载的是一个几MB的exe可执行程序,需要联网安装。
3种方式最终都是一样的。
本人选择的是Windows x86-64 executable installer。

2、安装Python3
安装时勾选Add Python 3.7 to PATH,表示在环境变量path添加python的安装路径。

3、在cmd命令行下查看Python命令,会显示版本号等信息

C:\Users\gdjlc>python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD6
4)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

4、开始菜单->程序->Pyhone3.7的四个选项说明

Windows下Python3.7的安装

(1)IDLE(Pythone 3.7 64-bit)
Python集成开发环境
(2)Python 3.7(64-bit)
Python的命令提示窗口,和在cmd命令行下输入python一样
(3)Python 3.7 Manuals(64-bit)
Python的全部文档
(4)Python 3.7 Manuals Docs(64-bit)
Python系统中可用的所有已安装模块的文档

5、解决pip安装模块慢的问题

如果pip安装模块很慢,可以临时改为使用国内pip源安装。
(1)国内pip源:
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:https://mirrors.aliyun.com/pypi/simple
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple
豆瓣:https://pypi.douban.com/simple
(2)临时使用
格式为:pip install -i 国内源网址 模块名
例如:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple face_recognition

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,026
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,517
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,364
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,145
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,779
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,856