windows10怎么安装python

python

本文主要讲解win10如何安装python,希望对初学的小伙伴有帮助。

更多相关知识,可以参考这篇文章:《python3安装详细步骤》

环境:win 10 64位操作系统

1.python下载

https://www.python.org/downloads/

2.x和3.x版本都行吧,都可以下的。(然后安装的时候,记得勾选环境变量配置就行了,当然也可以自己配)

我下载的是python 3.6版本。

命令行中输入python,回车,不报错,即安装成功

C:UsersAdministrator>python

Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>>

2.python如何查看安装的模块

在cmd下pip list

3.python如何安装模块

1)可以pip install ‘module模块名称’

2)也可以在https://www.lfd.uci.edu/~gohlke/pythonlibs/网站下载whl,然后用pip install xxx.whl就能安装(也是在cmd下)。(记住,从这个网站下的时候,模块的版本一定要和python版本一致,比如numpy-1.15.0rc1+mkl-cp36-cp36m-win_amd64 对应3.6版本,64位操作系统)

更多学习内容,请点击网。

以上是 windows10怎么安装python 的全部内容, 来源链接: utcz.com/z/521698.html

回到顶部