一、安装chinese、python等扩展

640?wx_fmt=jpeg

二、配置python解释器

640?wx_fmt=jpeg

右击空白处,找到“命令面板”

640?wx_fmt=jpeg

输入 python:select,选择解析器,查找python.exe所在的位置

三、更改Python 包安装与管理工具pip的国内安装源

#pip版本升级python -m pip install --upgrade pip  -i https://pypi.tuna.tsinghua.edu.cn/simple some-package#更换国内源pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple国内Pypi:Python 编程语言的软件存储库  阿里云 http://mirrors.aliyun.com/pypi/simple/   中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/   豆瓣(douban) http://pypi.douban.com/simple/   清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/   中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/#pip常用命令 pip install     #安装模块 pip install /    #安装本地包 pip install  --upgrade  #升级包 pip uninstall     #卸载模块 pip list          #查看已安装模块
Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐