【python】安装python 3.11

简介

本文介绍如何在windows环境安装python。

安装流程

1、下载安装包

1、下载地址:链接:https://pan.baidu.com/s/1WLEEAEH_K7ue5rPsMZkjJg?pwd=zhao 提取码:zhao

2、运行安装包,勾选添加到windows path,以及自定义安装到指定路径等,看个人需求。

2、安装拓展包

比如安装numpy。

1、进入windows shell,运行如下命令即可。

shell 复制代码
# 进入python shell
python
# 安装numpy
from numpy import *

2、测试安装效果

shell 复制代码
# 生成4*4数组
random.rand(4,4)

# 数组转为矩阵
randmat = mat(random.rand(4,4));

# 矩阵求逆
randMat.I

# 矩阵乘法
randMat2 = randMat.I
randMat2 * randMat
相关推荐
CTA终结者7 分钟前
示例、拆解和练习,要连成一条量化补课线
人工智能·python
lolijiaqi159 分钟前
一线观察:长期体验后发现的医疗器械 CDMO 底层现象
大数据·python
.YM.Z33 分钟前
C++ STL 容器深度剖析:vector 与 list 的模拟实现及对比
开发语言·c++·vector·list
spencer_tseng39 分钟前
[j2cache ehcache.xml]/tmp/.ehcache-diskstore.lock (Permission denied)
xml·linux·python·ehcache·[j2cache
lsylalalala1 小时前
多线程(4)
java·开发语言·多线程
小白不想画工图1 小时前
银河麒麟V10系统安装QT5.12
linux·开发语言·qt·银河麒麟
梦想不只是梦与想1 小时前
Python Web 框架:FastAPI
python·fastapi·web框架
玩大数据的龙威1 小时前
农经权二轮延包—全面取代人工公示图生成
python·arcgis
IT_Octopus2 小时前
JSON 日志里的 `{“$ref“:“$.xxx“}`:从 fastjson 兼容包到原生 fastjson2 的迁移实录
开发语言·python·json
geovindu2 小时前
python:HandWriting Recognition using paddlepaddle
开发语言·后端·python·paddlepaddle