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

Parsers not found #63

Closed
crimsonshade opened this issue Apr 20, 2024 · 2 comments
Closed

Parsers not found #63

crimsonshade opened this issue Apr 20, 2024 · 2 comments

Comments

@crimsonshade
Copy link

Please help me. After running :checkhealth I found out, that not a single treesitter parser got installed right.

Just getting this error message all the time for every single language.:

python(highlights) is concatenated from the following files:
  | [ERROR]:"C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\queries\python\highlights.scm", failed to load: Failed to load parser for language 'python': uv_dlopen: C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\parser\python.so is not a valid Win32 application.
- ERROR python(locals): Failed to load parser for language 'python': uv_dlopen: C:\Users\user\AppData\Local\nvim-data\lazy\nvim-treesitter\parser\python.so is not a valid Win32 application.

Here is my nvim --version

NVIM v0.9.5
Build type: RelWithDebInfo
LuaJIT 2.1.1703942320
Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe /MD /Zi /O2 /Ob1  -W3 -wd4311 -wd4146 -DUNIT_TESTING -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -DMSWIN -DINCLUDE_GENERATED_DECLARATIONS -ID:/a/neovim/neovim/.deps/usr/include/luajit-2.1 -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include -ID:/a/neovim/neovim/build/cmake.config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include

   system vimrc file: "$VIM\sysinit.vim"
  fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"

Run :checkhealth for more info

Did not found something useful on a quick google search...

@briandipalma
Copy link

Have you tried the suggestions here: https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support

@crimsonshade
Copy link
Author

Thanks. This article helped. I installed mingw manually, not by using choco, and installed the compiliers manually using the mingw interface.

But thanks for the article!

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