'When I open the nvim init.vim file, this error comes for Neoclide coc.vim

I get this error when I try to open the init.vim file for neovim, for neoclide coc.vim. Any solutions? in WSL(Ubuntu)

[coc.nvim] Error on execute :pyx command, ultisnips feature of coc-snippets requires pyx support on vim. use :CocOpenLog for details


Solution 1:[1]

Enter command pip install pynvim in your command line. It helped me. And before this you should have python on your PC.

Solution 2:[2]

I had to upgrade pip first, then run pip install pynvim.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Milan Averkiev
Solution 2 benmneb