-
Notifications
You must be signed in to change notification settings - Fork 119
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
Get error "no module named imp" with Python 3.12 #538
Comments
This is fixed but the fix hasn't been released yet. #534 |
I have tested the master branch and indeed it solves my problem. |
Workaround: Until released, you can install the master version (0.5.0.devN):
Note that path to |
Workaround for neovim/pynvim#538
Doesn't work offline though. When will the fix be released? |
I'm sorry but I'm having trouble wiht this still. After launching neoivm with my virtualenv (called
Launching nvim (Lunarvim, if it matters) with environment active:
Relevant section of
I'm not sure what I might have done wrong to have it working for everyone else and not for me, but does someone have an idea of how to fix this? If I can provide any more info that would be helpful please let me know. |
@slacksystem you need to set Also what's your neovim version? To support python 3.12, neovim 0.9.3 or higher is required. See neovim/neovim#25316 If neovim version is good, then in your case the python host (
I guess the
|
This comment was marked as duplicate.
This comment was marked as duplicate.
Released 0.5: https://github.com/neovim/pynvim/releases/tag/0.5.0 |
Python 3.12 has removed support for the
imp
library and in particular for theload_module
method of that package.The
pynvim
package do not support Python 3.12 anymore.The text was updated successfully, but these errors were encountered: