知识卡片
定位解释器后再检验辅助能力
先创建项目环境,再在VS Code的Python: Select Interpreter或PyCharm解释器设置选其实际路径。用一个已安装包的缺失导入作为检查:能给合理修复且在同一环境运行。书中菜单为旧版示意,不把编辑器选中与终端环境天然一致。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 代码编辑器生产力
原书出处 · 1 处
- · 查看原书依据
Select and activate the virtual environment. Open command palette (F1), type “Python: Select Interpreter”. The Python: Select Interpreter command displays a list of available Python environments. You can select the one for this project (ide-productivity-tutorial-xxx). If you don’t see that option, you can also copy and paste the full path printed at the end of the go script (see Figure 7-5). Figure 7-5. How to
参考来源
- 位置:《Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)》第07章《代码编辑器生产力》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Effective Machine Learning Teams (David Tan, Ada Leung, David Colls)/_epub-src/OEBPS/ch07.html)
- 结论依据:摘录中关于定位解释器后再检验辅助能力的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:Select and activate the virtual environment. Open command palette (F1), type “Python: Select Interpreter”. The Python: Select Interpreter command displays a list of available Python environments. You can select the one for this project (ide-productivity-tutorial-xxx). If you don’t see that option, you can also copy and paste the full path printed at the end of the go script (see Figure 7-5). Figure 7-5. How to