[GH-ISSUE #68] [Feature Request] 需要一个GUI版本 #40

Closed
opened 2026-05-05 03:23:05 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @martjay on GitHub (Apr 9, 2023).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/68

Originally assigned to: @XuehaiPan on GitHub.

Required prerequisites

  • I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)
  • I have tried the latest version of nvitop in a new isolated virtual environment.

Motivation

<不会代码,安装了使用命令不起作用>

Solution

No response

Alternatives

No response

Additional context

No response

Originally created by @martjay on GitHub (Apr 9, 2023). Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/68 Originally assigned to: @XuehaiPan on GitHub. ### Required prerequisites - [X] I have searched the [Issue Tracker](https://github.com/XuehaiPan/nvitop/issues) that this hasn't already been reported. (comment there if it has.) - [X] I have tried the latest version of nvitop in a new isolated virtual environment. ### Motivation <不会代码,安装了使用命令不起作用> ### Solution _No response_ ### Alternatives _No response_ ### Additional context _No response_
gitea-mirror 2026-05-05 03:23:05 -06:00
Author
Owner

@XuehaiPan commented on GitHub (Apr 9, 2023):

安装了使用命令不起作用

@martjay 你的 PATH 环境变量没有设置好。具体怎么设置可以去网上搜索答案。或者你可以使用下面的命令安装:

python -m pip install nvitop

然后使用下面命令执行:

python -m nvitop

这样即使 PATH 没有正确设置也能执行。


需要一个GUI版本

由于缺少运行环境、操作系统等相关信息,我假定你用的是 Windows 操作系统。

nvitop 需要 Python 解释器提供运行环境。如果你的意思是提供一个独立的 GUI 程序,则需要内置一个 Python 解释器并一起打包。这违背了 pip 包的初衷。

如果说你只是想要一个可以双击打开的 exe 文件,那你使用 pip 安装完 nvitop 之后,可以在你 Python 安装目录下的 Scripts 文件夹找到。

image

<!-- gh-comment-id:1501058891 --> @XuehaiPan commented on GitHub (Apr 9, 2023): > 安装了使用命令不起作用 @martjay 你的 `PATH` 环境变量没有设置好。具体怎么设置可以去网上搜索答案。或者你可以使用下面的命令安装: ```bash python -m pip install nvitop ``` 然后使用下面命令执行: ```bash python -m nvitop ``` 这样即使 `PATH` 没有正确设置也能执行。 ------ > 需要一个GUI版本 由于缺少运行环境、操作系统等相关信息,我假定你用的是 Windows 操作系统。 `nvitop` 需要 Python 解释器提供运行环境。如果你的意思是提供一个独立的 GUI 程序,则需要内置一个 Python 解释器并一起打包。这违背了 `pip` 包的初衷。 如果说你只是想要一个可以双击打开的 exe 文件,那你使用 `pip` 安装完 `nvitop` 之后,可以在你 Python 安装目录下的 `Scripts` 文件夹找到。 ![image](https://user-images.githubusercontent.com/16078332/230759176-3c456eb4-1803-434c-8b84-0f99d73c7bd9.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/nvitop#40
No description provided.