gergap / vim-ollama

Vim plugin for integrating Ollama based LLM (large language models)
GNU General Public License v3.0
15 stars 1 forks source link

`httpx` module missing #8

Open jjasghar opened 1 day ago

jjasghar commented 1 day ago

I'm attempting to run this on my Mac with a homebrew-installed version of Python.

It seems httpx is a requirement, and I can't seem to get my virtual environment installed version of httpx to have the chat.py point to it.

I'm running python 3.11 also, is that ok? What am I missing?

jjasghar commented 23 hours ago

I was bad and went ahead and did:

/usr/bin/env pip3 install httpx --break-system-packages

And it seems to be working. But I don'tk know if that's a good fix :shrug:

You can close this if you'd like it may help someone in the future.

corrosive4354 commented 12 hours ago

Although httpx is successfully installed, this method is not the best practice. Using the --break-system-packages option may cause confusion in system package management, especially when using Homebrew to install Python.

I think you can try the servbay tool, which is more professional on Mac and supports more than homebrew.

lrvl commented 12 hours ago

On Debian and AlmaLinux it was just adding the distro package