前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >python安装

python安装

原创
作者头像
小毛coder
发布2024-03-22 14:59:05
1620
发布2024-03-22 14:59:05
举报

资源

安装流程

python-3.10.11-embed-amd64 windows

代码语言:bash
复制
python get-pip.py
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://mirrors.aliyun.com/pypi/simple
Collecting pip
Downloading https://mirrors.aliyun.com/pypi/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl (2.1 MB)
    ---------------------------------------- 2.1/2.1 MB 408.5 kB/s eta 0:00:00
Collecting setuptools
Downloading https://mirrors.aliyun.com/pypi/packages/92/e1/1c8bb3420105e70bdf357d57dd5567202b4ef8d27f810e98bb962d950834/setuptools-69.2.0-py3-none-any.whl (821 kB)
    ---------------------------------------- 821.5/821.5 kB 373.5 kB/s eta 0:00:00
Collecting wheel
Downloading https://mirrors.aliyun.com/pypi/packages/7d/cd/d7460c9a869b16c3dd4e1e403cce337df165368c71d6af229a74699622ce/wheel-0.43.0-py3-none-any.whl (65 kB)
    ---------------------------------------- 65.8/65.8 kB 356.0 kB/s eta 0:00:00
Installing collected packages: wheel, setuptools, pip
WARNING: The script wheel.exe is installed in 'E:\environment\python\python-3.10.11-embed-amd64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
WARNING: The scripts pip.exe, pip3.10.exe and pip3.exe are installed in 'E:\environment\python\python-3.10.11-embed-amd64\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-24.0 setuptools-69.2.0 wheel-0.43.0

注: 更多命令信息

  • 修改python下载源,自行百度
代码语言:bash
复制
Downloading https://mirrors.aliyun.com/pypi/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3-none-any.whl (2.1 MB)
    ---------------------------------------- 2.1/2.1 MB 408.5 kB/s eta 0:00:00
  • 添加python到环境变量,包括python pip wheel
代码语言:bash
复制
WARNING: The scripts pip.exe, pip3.10.exe and pip3.exe are installed in 'E:\environment\python\python-3.10.11-embed-amd64\Scripts' which is not on PATH.
  • 确认pip-24.0 setuptools-69.2.0 wheel-0.43.0版本信息
  • 解决处理pip wheel setuptools找不到模块问题 修改python310._pth文件添加Lib\site-packages模块
代码语言:txt
复制
python310.zip
.
# 下面这行是添加进去的
Lib\site-packages
# Uncomment to run site.main() automatically
#import site

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 资源
  • 安装流程
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档