开发环境搭建
基础知识
视频教程
实用工具
问题
- 环境变量设置;
- Vscode中Python无法将pip”项识别为 cmdlet、函数、脚本文件或可运行程序的名称;
python在运行时会在home所指的路径中运行python.exe文件,这个路径很重要- 语法提示报错:安装pylint->Enable:“python.linting.enabled”: true,“python.linting.pylintEnabled”: true->在Select Linter中选择pylint;
- vscode 使用 pip 安装python包时,已经安装了python包,但是运行时,还是提示python包不存在:这个问题是由于安装了多个python运行环境,python包在其他的运行环境中,但是当前运行环境中并没有所需的python包,所以会报错。
1:将当前的python运行环境切换为python包所在的环境即可。
2: Requirement already satisfied解决办法:pip install 工具包到指定目录;