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

No module named 'frogmouth' #45

Closed
RomanoZumbe opened this issue May 17, 2023 · 12 comments
Closed

No module named 'frogmouth' #45

RomanoZumbe opened this issue May 17, 2023 · 12 comments
Labels
question Further information is requested

Comments

@RomanoZumbe
Copy link

I installed it via on Arch from the AUR via yay. After starting I just get the following error message:

Traceback (most recent call last):
File "/usr/bin/frogmouth", line 5, in
from frogmouth.app.app import run
ModuleNotFoundError: No module named 'frogmouth'

@davep
Copy link
Contributor

davep commented May 17, 2023

Unfortunately I don't know Arch, AUR or yay so it's very hard to say what the issue is here. Is this some third party packaging system?

@RomanoZumbe
Copy link
Author

It is just a set of instructions to build the software. But I'll remove it for now and try to install via pip. This is probably more a problem of whoever created the AUR script

@RomanoZumbe
Copy link
Author

RomanoZumbe commented May 17, 2023

Installing via PIP didn't work either. When installing as user I didn't have the command available on my path. After installing as root I get the following error message:

Traceback (most recent call last):
  File "/usr/bin/frogmouth", line 5, in <module>
    from frogmouth.app.app import run
  File "/home/romano/.local/lib/python3.11/site-packages/frogmouth/app/__init__.py", line 3, in <module>
    from .app import run
  File "/home/romano/.local/lib/python3.11/site-packages/frogmouth/app/app.py", line 6, in <module>
    from textual import __version__ as textual_version  # pylint: disable=no-name-in-module
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name '__version__' from 'textual' (unknown location)

@davep
Copy link
Contributor

davep commented May 17, 2023

Do you have available, or are you able to install, pipx? I'm not too familiar with how all the different GNU/Linux distributions manage Python packaging these days, and I especially don't know Arch, so it's tricky for me to offer advice there. But I suspect you'll have an easier time of getting Frogmouth itself installed if you install and set up using pipx.

@sanders41
Copy link

I am on Arch and can confirm Frogmouth works without error with pipx

@davep
Copy link
Contributor

davep commented May 23, 2023

Thanks @sanders41

@davep
Copy link
Contributor

davep commented May 28, 2023

@RomanoZumbe Is this still an issue you have? How did you get on with the suggestion made above a couple of weeks ago?

@Sush-ruta
Copy link

@davep Installing via AUR gives the No module named 'frogmouth' error. Installing via pipx works flawlessly. :)

@davep
Copy link
Contributor

davep commented Jun 1, 2023

Thanks for confirming @Sush-ruta

For those here with knowledge of such things (I'm totally ignorant of what AUR is), what exactly is an AUR, what or who is responsible for it, and is it something that a third party has put together and which might be broken and requires the author or maintainer to correct it?

@Sush-ruta
Copy link

@davep This is the AUR PKGBUILD script. I posted a comment highlighting the problem. Hope something comes out of this.

@davep
Copy link
Contributor

davep commented Jun 1, 2023

@Sush-ruta That's very kind of you, thank you.

@davep davep added the question Further information is requested label Jun 10, 2023
@davep
Copy link
Contributor

davep commented Mar 26, 2024

Closing as stale.

@davep davep closed this as completed Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants