[Seek Help] 如何安装 python textual 深度V25
Tofloor
default avatar
RW31450
deepin
2025-03-29 01:00
Author

V25 : 请教如何安装 python textual, 有安装成功的吗?

tiger@tianyuan:~/Downloads$pipx install textual
Note: Dependent package 'markdown-it-py' contains 1 apps

  • markdown-it
    Note: Dependent package 'pygments' contains 1 apps
  • pygmentize

No apps associated with package textual. Try again with '--include-deps' to include apps of dependent
packages, which are listed above. If you are attempting to install a library, pipx should not be used.
Consider using pip or a similar tool instead.

Reply Favorite View the author
All Replies
RW31450
deepin
2025-03-29 14:15
#1

解决了: 需要在虚拟环境下安装

1 创建virtual环境 python3 -m venv /home/tiger/venv

2 进入virtual环境 source /home/tiger/venv/bin/activate

3 安装texual: (venv) tiger:~/venv/bin$ pip install textual

Reply View the author