ggozad / oterm

a text-based terminal client for Ollama
MIT License
844 stars 40 forks source link

I am using arch linux to install #89

Open jojojojojoj5564656465465 opened 1 month ago

jojojojojoj5564656465465 commented 1 month ago
❯ oterm
Traceback (most recent call last):
  File "/usr/bin/oterm", line 5, in <module>
    from oterm.cli.oterm import cli
  File "/usr/lib/python3.12/site-packages/oterm/cli/oterm.py", line 6, in <module>
    from oterm.app.oterm import app
  File "/usr/lib/python3.12/site-packages/oterm/app/oterm.py", line 9, in <module>
    from oterm.app.widgets.chat import ChatContainer
  File "/usr/lib/python3.12/site-packages/oterm/app/widgets/chat.py", line 26, in <module>
    from oterm.app.widgets.image import ImageAdded
  File "/usr/lib/python3.12/site-packages/oterm/app/widgets/image.py", line 6, in <module>
    from rich_pixels import Pixels
ModuleNotFoundError: No module named 'rich_pixels'`
ggozad commented 1 month ago

How did you install? Is it with pip or something else?

jojojojojoj5564656465465 commented 1 month ago

I used pacman -S oterm

It's aur

Le ven. 17 mai 2024, 17:18, Yiorgis Gozadinos @.***> a écrit :

How did you install? Is it with pip or something else?

— Reply to this email directly, view it on GitHub https://github.com/ggozad/oterm/issues/89#issuecomment-2117828132, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKYXPFSJ27LRWWXYCUVX5MTZCYNUVAVCNFSM6AAAAABH3CTS26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJXHAZDQMJTGI . You are receiving this because you authored the thread.Message ID: @.***>

DanielChesters commented 1 month ago

Hi,

AUR package maintainer here.

Since it is only in AUR, could not simply use pacman -S oterm to install it. Which AUR helper do you used to install oterm in Arch ? Do you install all dependencies for oterm including those available only in AUR like python-rich-pixels ?

Regards

ggozad commented 2 weeks ago

@DanielChesters @jojojojojoj5564656465465 what's the status with this? Can we close?

jojojojojoj5564656465465 commented 2 weeks ago

@DanielChesters @jojojojojoj5564656465465 what's the status with this? Can we close?

Sorry I will try again today and give you update

jojojojojoj5564656465465 commented 2 weeks ago

python-rich-pixels

Hello, i checked if python-rich-pixels is installed using paru python-rich-pixels it's installed

jojojojojoj5564656465465 commented 2 weeks ago

image

jojojojojoj5564656465465 commented 2 weeks ago
Traceback (most recent call last):
  File "/usr/bin/oterm", line 5, in <module>
    from oterm.cli.oterm import cli
  File "/usr/lib/python3.12/site-packages/oterm/cli/oterm.py", line 6, in <module>
    from oterm.app.oterm import app
  File "/usr/lib/python3.12/site-packages/oterm/app/oterm.py", line 11, in <module>
    from oterm.store.store import Store
  File "/usr/lib/python3.12/site-packages/oterm/store/store.py", line 11, in <module>
    from oterm.store.chat import queries as chat_queries
  File "/usr/lib/python3.12/site-packages/oterm/store/chat.py", line 1, in <module>
    import aiosql
ModuleNotFoundError: No module named 'aiosql'
DanielChesters commented 2 weeks ago

@jojojojojoj5564656465465 You should do paru -S oterm and it should install all mandatory dependencies, including those from AUR.

jojojojojoj5564656465465 commented 2 weeks ago

@jojojojojoj5564656465465 You should do paru -S oterm and it should install all mandatory dependencies, including those from AUR.

i tried and it's not working