Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac安装完,无法正确代码提示 #371

Open
zleehomc opened this issue Oct 26, 2019 · 2 comments
Open

mac安装完,无法正确代码提示 #371

zleehomc opened this issue Oct 26, 2019 · 2 comments

Comments

@zleehomc
Copy link

安装完无法正确代码提示,代码提示的都是python2库, 猜测是python解析器的问题,但是不知道如何设置, vscode中可以直接选择代码解析器,但是这个如何设置啊?

@wklken
Copy link
Owner

wklken commented Oct 27, 2019

  • 构建一个python3 virtualenv环境, 然后activate进入, 此时打开vim编辑python文件, 确认是否是python3的库

  • ycm启动时会根据当前环境的python决定使用的版本

@zleehomc
Copy link
Author

我今晚回家尝试下, 感谢百忙之中回复!

andyt9527 pushed a commit to andyt9527/vim_config that referenced this issue Jul 17, 2020
* Check vim

* Use python3

* Specify 3.6

* Update beforehand

* Add ppa

* Yes

* Compose

* &&

* Split

* Refactor

* Chmod +x

* Add pathlib

* Sudo

* Typing

* Ci

* Unique

* Ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants