macvim-dev / macvim-dev/macvim

Could you please revisit the Python-2.x-and-Python-3.x workflow with MacVim

未关闭
#760 16 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Vim Script
星标
7.9k
派生
691
PR 合并指标
30 天内没有已合并 PR

描述

Hi,
This is a great reference and it seems like many people used it in the past:
Python-2.x-and-Python-3.x

However, I would say, the solution suggested at the link above is failing with multiple different issues.

Could you (anyone with experience) please update that solution, and maybe in that way we can make sure that this works with the latest Python2.x and Python3.x versions and pyenv, conda etc.

For example, in my case the pyenv installation for Python2.x and Python3.x described in that link was extreemly painful.

Then the homebrew bit did not work.

I also was not sure if the dynamic linking was working at all. My otool -L output is:

otool -L _ctypes.so
_ctypes.so:
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)

And I never managed to get this bit to work:

$ otool -L $HOME/.pyenv/versions/2.7.11/lib/python2.7/lib-dynload/_ctypes.so
/Users/foo/.pyenv/versions/2.7.11/lib/python2.7/lib-dynload/_ctypes.so:
    /Users/foo/.pyenv/versions/2.7.11/lib/libpython2.7.dylib (compatibility version 2.7.0, current version 2.7.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)

Many plugins are now using Python3 and some are still using Python2. A hybrid solutions is becoming critical even more now.

Thank you very much.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 Python-2.x-and-Python-3.x MacVim wiki 页面开始,使用 issue 中的命令和 otool 输出重现报告的 pyenv、Homebrew 和动态链接问题。完成的标准是:页面记录一个可正常工作的 Python 2 和 Python 3 混合配置,其中包括当前的 pyenv 或 conda 指南,以及经过验证的动态链接。

由索引模型根据 Issue 内容生成。

评估

技术栈
macos, python, vim
领域
documentation
Issue 类型
文档
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。