macvim-dev / macvim-dev/macvim
python environment not used anymore
未关闭
还没有人认领这个 Issue。
- 主要语言
- Vim Script
- 星标
- 7.9k
- 派生
- 691
- PR 合并指标
- 30 天内没有已合并 PR
描述
Since last update to Version 8.1.1722 (157) (on macOS 10.14.6) a python call within mvim doesn't use the python version from the environment mvim was started from but uses the system python. (before the update the python version from the environment was used)
- activate a python environment in a directory which has a different python version than the system python
(- may checkpython --versionin this directory) - run
mvimin this directory - call vim command
:!python --version
On my computer it returns the version number of the os-python not of the env-python
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 mvim 的启动上下文和 :!python --version 的复现开始,然后查阅已提交的 vim/vim issue #4856 以了解相关背景。完成的标准是:在所报告的 macOS 设置中,于已激活环境内启动的 mvim 调用该环境的 Python,而不是系统 Python。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, python, vim
- 领域
- desktop, developer-experience
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100