Open walsripe opened 4 years ago
I have same problem when I use vim on WSL. When I use jedi it works correctly, but cannot complete in MPLS....
Hi,
I have installed the coc-python but auto complete function can not work, I am not sure why it can not work, if someone could help me, I will highly appreiciate it.
I use nvim on WSL, and the problem is as below,
My init.vim configuration is as below,
checkhealth is,
you can use mpls...Today I install mpls offline, it works.
https://github.com/neoclide/coc-python/issues/80
Try :CocRestart
Have you set your project root?
check :CocList folders
.
You guys might have a similar problem to me. Can you check to see if the language server is running at all?
ps aux | grep Lang
should tell you
I have same problem when I use vim on WSL. When I use jedi it works correctly, but cannot complete in MPLS....
I don't have any experience on WSL, so it may not work.
looks like it can't find a file?
## Output channel: Python
Starting Microsoft Python language server.
[Info - 11:02:50 AM] Analysis cache path: /home/habamax/.cache/Microsoft/Python Language Server
[Info - 11:02:50 AM] Microsoft Python Language Server version 0.5.45.0
[Info - 11:02:50 AM] Workspace root: /home/habamax/.vim
[Info - 11:02:50 AM] GetCurrentSearchPaths /usr/bin/python
[Info - 11:02:50 AM] Interpreter search paths:
[Info - 11:02:50 AM] /usr/lib/python3.7
[Info - 11:02:50 AM] /usr/lib/python3.7/lib-dynload
[Info - 11:02:50 AM] /home/habamax/.local/lib/python3.7/site-packages
[Info - 11:02:50 AM] /usr/local/lib/python3.7/dist-packages
[Info - 11:02:50 AM] /usr/lib/python3/dist-packages
[Info - 11:02:50 AM] User search paths:
[Info - 11:02:52 AM] Initializing for /usr/bin/python
[Info - 11:02:52 AM] Analysis caching mode: None.
[Error - 11:03:35 AM] Unable to find document file:///home/habamax/.temp/test.py
[Error - 11:03:43 AM] Unable to find document file:///home/habamax/.temp/test.py
[Error - 11:03:44 AM] Unable to find document file:///home/habamax/.temp/test.py
[Error - 11:03:46 AM] Unable to find document file:///home/habamax/.temp/test.py
try: pip install jedi
Hi,
I have installed the coc-python but auto complete function can not work, I am not sure why it can not work, if someone could help me, I will highly appreiciate it.
I use nvim on WSL, and the problem is as below,
My init.vim configuration is as below,
checkhealth is,