-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
DeprecationWarning with python 3.7 on Windows 10 #138
Comments
I think this issue is because the python3.7 version is not consistent with the version when compiling vim.
You can see |
I'm getting this error on every machine I use at work and at home now. The current machines I am using are compiled with python 3.7. Should the deprecated imp function just be rewritten to use importlib? |
@JustinHoyt This issue is not related to LeaderF, please google it to resolve it. |
@Yggdroot I did google it and I came up with nothing outside of downgraing to python 3.6 which is not an acceptable solution. The error explicitely says that it’s a deprecation warning coming from LeaderF. If it is indeed an issue from something other than LeaderF, maybe there should be a solution somewhere in the documentation since I’m not the first one to run into this issue. Regretfully I cannot use this plugin anymore because of this issue. I hope it gets resolved soon. |
I think if you use another plugin written in Python, you will come across the same issue. |
@JustinHoyt Did you try the solutions discussed in vim-pandoc/vim-pandoc#244. |
@JustinHoyt To prove that this issue is not related to LeaderF, you can try the steps as below:
|
@JustinHoyt The root cause of this issue is vim/vim#3117. It can be found by google at the first page, I don't know how you used google. |
actually this is a workaround for vim/vim#3117
EDIT: THIS IS NOT RELATED TO LEADERF, PLEASE SEE vim/vim#3117
vim or neovim?
vim --version
ornvim --version
:VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Feb 8 2018 15:00:34)
Included patches: 1-1476
Output of
:echo has("python")
:Output of
:echo has("python3")
:Output of
:echo &pythondll
(only vim, not neovim):Output of
:echo &pythonthreedll
(only vim, not neovim):pythonthreeddll=python37.dll
Output of
:py print(sys.version)
:Output of
:py3 print(sys.version)
:Operating system:
Configurations related to LeaderF in vimrc:
set pythonthreedll=python37.dll
Describe your question, feature request, or bug.
I installed the latest python(https://www.python.org/downloads/release/python-370b3/) on my new PC, and explicitly use its dll for vim. Since the python version is quite new, some features Leaderf use is deprecated. Vim prints following error message when it starts up:
FYI:
ARM-DOE/pyart#677
ARM-DOE/pyart#675
The text was updated successfully, but these errors were encountered: