Package Details: python-textual-git 0.33.0.r23.g900c372f1-1

Git Clone URL: https://aur.archlinux.org/python-textual-git.git (read-only, click to copy)
Package Base: python-textual-git
Description: Modern Text User Interface framework
Upstream URL: https://github.com/Textualize/textual
Licenses: MIT
Conflicts: python-textual
Provides: python-textual
Submitter: jmdana
Maintainer: carlosal1015
Last Packager: carlosal1015
Votes: 0
Popularity: 0.000000
First Submitted: 2022-03-30 17:39 (UTC)
Last Updated: 2023-08-21 16:44 (UTC)

Required by (27)

Sources (1)

Latest Comments

jmdana commented on 2022-10-24 22:19 (UTC)

I don't have the time to look into it so I have disowned the package.

m040601 commented on 2022-10-24 15:06 (UTC) (edited on 2022-10-24 15:07 (UTC) by m040601)

I also tried other possibilites of testing this 'textual' framework in a clean non invasize way.

  • Venv and pip install
python -m venv venvtextual
cd venvtextual
source bin/activate
pip install textual

The demo than works perfectly

python -m textual
  • pipx

I'm not sure if 'pipx' is well suited for this kind off app. But anyway since it's contained and doesnt 'pollute' my system, I tried,

pipx install --verbose textual

It seems to install fine,

  installed package textual 0.2.1, installed using Python 3.10.8
  These apps are now globally available
    - textual
done! ✨ 🌟 ✨

But then trying to run it

    $ textual
Traceback (most recent call last):
  File "/home/a1/.local/bin/textual", line 5, in <module>
    from textual.cli.cli import run
  File "/home/a1/.local/pipx/venvs/textual/lib/python3.10/site-packages/textual/cli/cli.py", line 4, in <module>
    import click
ModuleNotFoundError: No module named 'click'

m040601 commented on 2022-10-24 14:54 (UTC) (edited on 2022-10-24 14:58 (UTC) by m040601)

I cant get this to work.

It seems to install fine.

I then try to do what stated in , https://github.com/Textualize/textual

Run the following command to see a little of what Textual can do:

python -m textual

This will fail with,

    $ python -m textual
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.10/site-packages/textual/__main__.py", line 1, in <module>
    from .demo import DemoApp
  File "/usr/lib/python3.10/site-packages/textual/demo.py", line 15, in <module>
    from textual.app import App, ComposeResult
  File "/usr/lib/python3.10/site-packages/textual/app.py", line 21, in <module>
    import nanoid
ModuleNotFoundError: No module named 'nanoid'

No idea what this 'nanoid' is. Tried searching the AUR.

I suspect that this 'textual' framework is under very active development on github.

This PKGBUILD was created and addded in '2022-03-30 17:39 (UTC)' and never had a change or revision.

So this "-git" PKGBUILD might need a revision to make sure it is actually working.

m040601 commented on 2022-10-24 14:49 (UTC)

homepage url has changed to, https://github.com/Textualize/textual