caryqd

方式一

(study) 21abc@xyz3134 /d/2021_UAC/svn12/2021/gitbook_workspace1
□□ python
Python 3.8.0 (default, Nov  6 2019, 16:00:02) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys, os
>>> print(sys.executable)
C:\Users\21abc.HAIER\AppData\Local\Continuum\anaconda3\envs\study\python.exe
>>>

方式二

(study) 21abc@xyz3134 /d/2021_UAC/svn12/2021/gitbook_workspace1
□□ where python
C:\Users\21abc.HAIER\AppData\Local\Continuum\anaconda3\envs\study\python.exe
C:\Python39\python.exe
(study) 21abc@xyz3134 /d/2021_UAC/svn12/2021/gitbook_workspace1
□□

VS Code应用

【Ctrl+Shift+P】后,出现:

"Python: Select Interpreter" 或 "Python: 选择解释器"

显示当前:...

粘贴,如C:\Users\21abc.HAIER\AppData\Local\Continuum\anaconda3\envs\study\python.exe

分类:

技术点:

相关文章:

  • 2021-06-19
  • 2021-04-04
  • 2022-02-17
  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2021-09-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-29
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案