Windows中安装python-embed版本和VSCode免安装版本python开发环境

python-embed版本下载安装

  1. 官网下载: 下载地址
    Tips: 下载Windows embeddable package

  2. 安装方法:
    解压到指定目录即可,无需安装

  3. 配置环境变量
    python.exe文件目录配置到Path变量中,cmd中运行python --version查看配置是成功

pip安装

  1. 检查是否安装: python -m ensurepip --default-pip

  2. 下载地址: 官方下载

  3. 安装方法: python get-pip.py
    任意目录安装,pip的可执行文件默认安装在python所在位置的Scripts目录,源码文件安装在Lib\site-packages目录

安装说明:
Be cautious if you’re using a Python install that’s managed by your operating system or another package manager. get-pip.py does not coordinate with those tools, and may leave your system in an inconsistent state. You can use python get-pip.py --prefix=/usr/local/ to install in /usr/local w

你可能感兴趣的:(Python学习,windows,python,vscode)