blacklight / nvim-http

An HTTP client for neovim inspired by vscode-restclient and the IntelliJ HTTP client
MIT License
87 stars 5 forks source link

Thank you and Not finding python dependencies #14

Open EdmundsEcho opened 2 months ago

EdmundsEcho commented 2 months ago

I suspect this might have something to do with my using lazy as a plugin manager, but...

I'm getting the following error when I run :Http

Error detected while processing /Users/edmund/.local/share/nvim/la
zy/nvim-http/autoload/http.vim:
line   26:
nvim-http requires the Python extension installed
E117: Unknown function: http#Run

However, when I run :chekhealth all seems to be in order:

==============================================================================
provider.python: require("provider.python.health").check()

Python 3 provider (optional) ~
- Using: g:python3_host_prog = "/Users/edmund/.local/share/mise/installs/python/3.10.1/bin/python3"
- Executable: /Users/edmund/.local/share/mise/installs/python/3.10.1/bin/python3
- Python version: 3.10.1
- pynvim version: 0.5.0
- OK Latest pynvim is installed.

Python virtualenv ~
- OK no $VIRTUAL_ENV

Finally, when I check that the python instance has the required http-nvim deps, all seems ok:

~/.local/share/mise/installs/python/3.10.1/bin/python3 -m pip show pynvim requests
Name: pynvim
Version: 0.5.0
Summary: Python client for Neovim
Home-page: http://github.com/neovim/pynvim
Author: Neovim Authors
Author-email:
License: Apache
Location: /Users/edmund/.local/share/mise/installs/python/3.10.1/lib/python3.10/site-packages
Requires: greenlet, msgpack
Required-by:
---
Name: requests
Version: 2.32.3
Summary: Python HTTP for Humans.
Home-page: https://requests.readthedocs.io
Author: Kenneth Reitz
Author-email: me@kennethreitz.org
License: Apache-2.0
Location: /Users/edmund/.local/share/mise/installs/python/3.10.1/lib/python3.10/site-packages
Requires: certifi, charset-normalizer, idna, urllib3
Required-by: bauplan, tnc-py

Might anyone have some advice on how to troubleshoot this issue?