【问题标题】:Python interpreter in venv cannot be selected because it is not an .exe file无法选择 venv 中的 Python 解释器,因为它不是 .exe 文件
【发布时间】:2023-01-10 02:06:54
【问题描述】:
  • Python 安装在我的虚拟环境中
  • 但是,在 VScode 中,当我转到文件夹 venv/bin 时,它无法被选为解释器,因为它在某种程度上不是 .exe 文件。 (也是0kb)

环境:

我正在使用 ubuntu linux。 Python 在命令行中运行,但我无法在 VS 代码中的“运行 python 文件”中运行它。

【问题讨论】:

  • Linux上原则上没有.exe文件。所以,这个问题让我很困惑。

标签: visual-studio-code python-venv


【解决方案1】:

相同:/你让它工作了吗?

【讨论】:

猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2020-01-09
  • 2021-09-14
  • 2021-12-12
  • 2022-01-24
  • 1970-01-01
  • 2020-06-21
  • 2020-03-13
相关资源
最近更新 更多