Python教程

python安装命令

本文主要是介绍python安装命令,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

python安装包 镜像网站
https://registry.npmmirror.com/binary.html?path=python/
镜像包安装
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple

镜像安装:pip install jupyter -i https://pypi.tuna.tsinghua.edu.cn/simple

pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple

更新pip version
python -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple

查看已安装组件:python -m pip list

pip install requests -i https://pypi.tuna.tsinghua.edu.cn/simple
jupyter notebook启动命令:jupyter notebook
启动成功

sublime安装
CTRL+B 运行 python

pandas安装
pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple

matplotlib安装
pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple

tushare安装
pip install tushare -i https://pypi.tuna.tsinghua.edu.cn/simple

![[Pasted image 20220912164814.png]]

这篇关于python安装命令的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!